Added tornado server version of mockup
Added tests (type checking)

Also added travis-ci config for CI testing