* Fixes #513 Refactor to generate special onCreate/onDestroy/onBind/onStartCommand instead of hard coding.  This removes significant code duplication.