Pass on config, register module http handlers

Jira issue: WP-1054
Logging was calling wrong function name, could have crashed PZH

Jira Issue: WP-1069
Wrap code in self-executing anonymous function

In order to not expose private functions globally, wrap all code in a
SEAF. Also move webinos.servicedisco.js inclusion to the top, code for
API services must come after that. This is needed for API services to
register its constructor.

Jira-issue: WP-1045
Merge pull request #14 from aldafu/WP-1045-wrap-webinos.js-concatenation

Wrap code in self-executing anonymous function
Merge pull request #13 from felixjendrusch/wp-1054-pzp-http-sharing

Pass on config, register module http handlers
change null/undef folder references to empty string

fixes exception on path.join with node.js 0.10, which doesn't allow any
other args than strings.

Jira-issue: WP-980
Merge pull request #15 from aldafu/WP-980-node-0.10-compatibility

change null/undef folder references to empty string
Add another piece of configuration data: invitation tokens

These tokens are used when inviting someone to join your personal
zone for the first time, and must be persistent.

Jira issue: WP-1064
Merge pull request #16 from jplyle/support-invite-tokens

Add configuration support for invitation tokens
Merge pull request #17 from habibvirji/master

Correct API call
Dynamic update webinos.js in Android

Jira Issue: WP-1029
Merge pull request #18 from ziransun/WP-1029

Dynamic update webinos.js in Android
Update configuration.js

Service Cache is not mandatory to be updated when PZP starts in Virgin mode, changes are in relation to that.
Android: Only append webinosocket.js in org.webinos.app/static/webinos.js

Jira Issue: WP-1029
Merge pull request #19 from ziransun/WP-1029

Android: Only append webinosocket.js in org.webinos.app/static/webinos.j...
wp-1083: Improve the interfaces to android-webinos
Merge pull request #20 from gguowei/wp-1083

WP-1083: Improve the interfaces to webinos-android
Load dashboard's wrt if exists.