Client now "requires" application JS based on list sent from server.

Added application names method on server.

Client uses this list to require application js needed.
No, heartbeat gets sent down in the list of applications.