Stop cowboy correctly in boss_web_controller:terminate/2.
Merge pull request #439 from fdevibe/stop_cowboy_in_terminate

Stop cowboy correctly in boss_web_controller:terminate/2.