Rename grunt build file

Jira-issue: WP-779
Update to use grunt 0.4.x

Change directives code to grunt template syntax. Register new grunt modules
as tasks. Update default and minify task to use updated tasks. Add grunt
modules to package.json.

Remember to switch from grunt 0.3 to grunt 0.4 use:
$ npm uninstall -g grunt
$ npm install -g grunt-cli
$ npm install # from webinos dir to install new grunt deps

Jira-issue: WP-779
Merge pull request #473 from aldafu/WP-779-update-to-grunt-0.4

Wp 779 update to grunt 0.4
Changes in webinos configuration functions

It uses a single function to store and retrieve details.
Webinos_config.json is checked at every time webinos is started to see differences.
SetConfiguration generates CA for PZP and PZH. PZPCA is related to WP-39 but changes are introduced here.
Impacts PZP has master certificate signed by PZH. PZH now needs to load PZP signed certificate to allow authentication.

Jira Issue: WP-778
StoreDetails and FetchDetails implementation in PZP/PZH code

Jira Issue: WP-778
Certificate manager code changes to adapt to configuration changes.

Introduces getCertType and getKeyId functions to fetch client/server certificate type and key name respectively.
Removes declaring client or server certificate during signing process.

Jira Issue: WP-778
Webinos version addition in webinos_config.json

As part of running grunt, webinos version is added in webinos_config.json.
Update is also done to package.json if webinos version changes.
webinos_config.json can be now updated for port changes.

Jira Issue: WP-778
Updates to latest master changes

Jira Issue: WP-778
configuration changes for PZH

PZH instantiation requires user details especially emailid

Jira Issue: WP-778
Merging related error

Jira Issue: WP-778
Enrollment related and webinos version related issues

Jira Isuse: WP-778
Review comments

Jira Issue: WP-778
Merge pull request #487 from habibvirji/WP-778-webinos-version

Wp 778 webinos version
Initial travis-ci testing files

This commit also comments out a syntax error in the
SensorSpec test and adds jasmine-node to the list
of dependencies.

Jira issue: WP-793
Travis CI testing: fix .yml and package.json

Due to grunt changes and misconfiguration in the
earlier commit, the travis-ci build wasn't working.  This
commit changes .travis.yml and adds the right grunt
dependencies.
More travis.yml configuration for continuous build.

This time: made npm be more verbose and test both
node 0.6 and 0.8.  Also added node-gyp dependency.

Jira issue: WP-793
Create a Travis CI testing set-up for webinos

This commit adds a testing script (auto-test.sh) and then
references it from package.json.  It also adds a command-line
option to webinos_pzp and webinos_pzh such that they exit if
they have been started successfully (--test).  In addition, to
test the PZH, a travis-specific configuration file has been
added (travis_webinos_config.json) to change ports to high
numbers.  This needs fixing in the future.

Jira issue: WP-793
Minor fix to travis.yml

Jira issue: WP-793
Rebase of Travis CI integration work with new Grunt version.

Jira issue: WP-793
Change Travis CI to use node v0.8 and fix dependency issues

Travis will now temporarily move the offending node_modules
files (e.g., expat.js) before installation.

Jira issue: WP-793