added intents for the agent, you can now create endpoints and start them with an intent or start the embedded server
changed how to script starting endpoints and the embedded server. this now is done using the services directly
added a broadcast receiver to the agent so it can be started via a broadcast (required for old devices)
make sure to provide the agent with context, if we are starting an embedded server with an intent
purging some irrelevant code from the main activities
make sure that context is available when starting an endpoint, or embedded server, through a service intent
moving the broadcast receiver into a Receiver namespace