Don't try to build webinos.js with ant

Jira issue: WP-202

The building of webinos.js has been migrated to use grunt; therefore
this build.xml no longer attempts to create it.
Merge pull request #332 from paddybyers/android-grunt

Don't try to build webinos.js with ant
Device APIs linux

battery, cpu, device, input device, memory, os, wifi - hardware/network, wired network changes done
jira issue: wp-547
Merge pull request #325 from krishnabangalore/wp-547_aspectsimplement

Wp 547 aspectsimplement
Add platform-specific project files

The linux daemon project file is required to build the component as it is specific to Linux and is not auto-generated.

Jira issue: wp-221
Align applauncher API to latest spec

Make the function signatures match the spec, and add initial implementation.

Jira issue: wp-221
Modifications to runtime to support applauncher

The applauncher functionality is provided by the pzp daemons that run natively on linux/windows.

Jira issue: wp-221
Merge pull request #334 from TobyEalden/wp-221

applauncher API implementation
Make util work with dependencies.json

Also fix require calls for logging util.

Jira-issue: WP-573
Refactor RPC module loading to util

Code for requiring the api service modules (from in tree) was factored
out into utility code and is not longer part of the rpc code.

Jira-issue: WP-573
Self registering API modules

Add support for API modules that can register one or more RPC services
themself. Modules need to export a "Module" constructor which will be
instantiated by the PZP. "Module" instance are required to have "init"
instance method. This method takes two parameters, a register function and
an unregister function which can be used by the module to register
instantiated RPC services.

This allows API implementations to decide on their own whether to register
a service or not, depending on platform or environment.

Short example for a module implementation:

var MyModule = function(rpcHandler, params) {
	this.rpcHandler = rpcHandler;
	this.params = params;
};

MyModule.prototype.init = function (register, unregister) {
	// instantiate my RPC service, implementd elsewhere
	var service = new MyService(this.rpcHandler, this.params);
	register(service);

	// maybe at some later point in time
	unregister(service);
};

exports.Module = MyModule;

Jira-issue: WP-573
TV API updates

* fixes dependencies.json, path to root was wrong
* variable name change for used tv mgr impl

Jira-issue: WP-573
Update TV API module to use self registered services

Don't export the service, but export a module instead which if initialized
registers the TV Manager service itself.

Jira-issue: WP-573
Update Get42 example API module to use self registered services

Don't export the service, but export a module instead which if initialized
registers the service itself.

Jira-issue: WP-573
loadservice: clean up required deps, use logger

Use the webinos logger, remove redundant error logging.

Jira-issue: WP-573
Refactor to allow loading one or more modules

loadServiceModules function loads an array of modules while the
loadServiceModule function loads one module. This change refactors both
functions to use the same code.

Jira-issue: wP-573
Fix loading module loading from PZH admin webpage

Loading modules from the "service configuration" menu entry of the PZH
admin webpage now also uses the module loader from loadservice.js

Jira-issue: WP-573
Break some long code lines

To stay in the 80 char width limit.

Jira-issue: WP-573
Remove some leftovers.

* Remove doubled setSessionId call
* Remove unused load module function.

Jira-issue: WP-573
Merge pull request #311 from aldafu/WP-573-dynamically-register-services

Wp 573 dynamically register services