Cleanup: coding standards, mostly.

Also removed a silly call to `unregister_widget` in the deactivation hook. If the code isn't there, the widget isn't registered. (facepalm)
Add filter to disable `cleanup()` method
Implement singleton
Fix phpdoc
More singleton conversion
Add _deprecated_function notices to appropriate functions