Make python plinth.py actually work

I was trying to get some development done in a raw checked out environment and found that setting some explicit defaults made it a lot easier. In this state it works without a config file.

The make_db in first_boot is to ensure that the table exists.

Small bit of ensuring that network ports are ints.

And created some session directories for cherrypy if they dont' exist.