Merge pull request #33 from S11001001/update-deps

Update deps to work with recent ghc installs
`while` supported as function name, small optimization to inlined pure javascript functions.
Relaxed a few additional dependencies for haskell-platform-2012.4.0.0
Travis CI fix attempt #2
Separate deps for Haskell Platform builds vs ghc-latest builds.