Revised REST Marketplace API:
 - added several methods
 - fixed model annotation
 - added some more test cases
RestAPI v3: removed duplicate paths in marketplace resource
Added an EnvironmentRepository interface and made plugins use it (through API class)
Removed some reference to deprecated Freedomotic.sendCommand() and Freedomotic.sendEvent()
Fix PL-162
Removed direct references to EnvObjectPersistence in plugins
Quick fix to restapi old reference
Generalized some base objects like Gate
Added multiline support to jfronted callouts
Multiline callouts on jfrontend
RestAPI v3: fixed WS json representation, updated Jersey version