added build scripts
changed gitignore to include build/dist folders
updated platform.js to unify line endings, and have all changes from slate
current build of platform.js