checkstyle.sh: add ./env directory to exclude

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
fix style errors

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
Merge pull request #375 from benemorius/checkstyle

fix checkstyle.sh and some style errors
use sigterm instead of sigkill to kill the server

sys.exit() causes a hang for some reason but
os._exit() does not

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>