Changed source level to Java 7 and upgraded osgi core version
Added missing jersey runtime dependency
Added service trackers for persistence and http service
Added a status method to the agent service to check that it's running
Modified agent application to register singleton beans itself, by extending ResourceConfig
Completed bundle activator implementation