added configs to .gitignore; changed api.js to work with AppFog; added 'script' to package.json for AppFog