Fix remove_function: remove functions from stack.
fix unregister: remove all functions under the package
and remove the package.
Merge remote-tracking branch 'refs/remotes/origin/master'

Conflicts:
	core/bus.py