Prestonpans, Port Seaton and Cockenzie, once major industrial centres, are now largely a commuter belt for an expanding capital.