change end mark to Hostinfo::Runnable
add main.rb to start a standalone hostinfo service

Now it's possible to send extra options to sinatra when using daemons
to start the application.