[#58] Implemented Activity lifecycle callbacks with empty implementations, and added logging for debugging the lifecycle process.
[#58] Added deregistration on activity destroy to prevent multiple registrations building up.