Removing deleted objects from memory if deleted when refcount is zero already
(this is probably impossible right now, but not necessarily a wrong thing to happen)
Docs update
Merge branch 'jonas' of github.com:JonasT/Blitwizard

Conflicts:
	docs/modules/blitwizard.html
More sane error handling, preparing blitwizard.onLog event
Adding blitwizard.onLog
Fixing debugging symbols for C++ code
Fixing uninitialised physicsobject data
Some code cleanup while hunting a blitwizard.onLog crash
Fixing the crash and various other details
Improving texture manager logging behaviour
Preventing Box2D assertion failure when creating objects
from inside an object:onCollision() callback
Patching console to do cool stuff
Treat return values in the console nicely
Fixing 2d sprites/texture manager interaction deadlocks
Work on adapting the examples to new api,
various template code fixes
Adding missing browse.xcf