Incorporating generation of JS code into eval-api

In addition to moving stuff from `Smod.hs`

- cleanup handler in `runToHandle'
- cpuTimeLimits should NOT be set in order for ghcjs to function properly
- the actual js result is still not being sent
Updating tests, .gitignore