Added shutdown hooks so that @Dispose methods do work.
Added changelog.
Merge pull request #147 from ninjaframework/145-shutdown-hooks-not-executed

145 shutdown hooks not executed