console entry point for luigid server

having a hard time squashing my commits on this one.  will be more careful in the future.
added a somewhat strange test.  please, review.