New bosh

Mod_bosh refactoring:
  * added mnesia transactions for session creation and destruction
  * cleaned up function names
  * improved debug message legibility