Rewritten Javascript/Typedscript + Included RequireJS for better javascript modules handling + timestamp -> epoch for firefox Date compatibility

- Rewritten Javascript/Typedscript
- Included RequireJS for better javascript modules handling 
- timestamp -> epoch for firefox Date compatibility

TODO:
- find a generic way to import modules with RequireJS (view mods in bitsd/server/uimodules.py)