fix func test & example apps without package.json

mojito-cli-start requires mojito apps to have a valid package.json
and mojito declared as a dependency.