Set port option to type=int

Related to server startup issues (wsgi server expecting int, receiving
string) discovered in #10.
Added test for server creation code.
Merge pull request #13 from RHInception/port_arg_type

Merged port_arg_type branch into master.