Move command builder to base of mcserver

This makes it more widely available
Fix error with starting server as a non-daemon
Add restart command