main rewriting: prototype client instead of global name tent.
added credentials* and config.js to gitignore
added Apps api
debug mode in config.js on lib side
common method apiCall for factorizing apiRoot retrieval
fixed test-app + another small bugfix using apiCall
bugfix: when registering app, use api root url.