update sbt release version

0.4 is not available anymore
register event function

rewrite setup to register a function instead of setting it directly
regster shutdown functino for bolts

Register shutdown functions for bolts, as counterpart to SetupFunc.