Fixed build scripts
Added Rakefile and altered script for Travis CI
updated build scripts to use rake
added deploy scripts for convenience
Added preview task to Rakefile