added grunt support
update app structure

api and spa return express object
will loaded in app.js server app
added http/https direct support with envVars
update grunt support with grunt-clear