add server class
changes to factory, sx and server
before jugglingdb monkeypatch
failing tests
sx generate
remove coffee tests, add promised-jugglingdb, fix model tests, change to bluebird instead of Q