Merge pull request #71 from chipdude/master

collection of small improvements
app should handle SIGTERM like SIGINT. clean shutdown.
fix json test to handle explicit bool
use constants for GET POST HEAD in tests