viewDidUnload is deprecated as of iOS 6 (and not recommended even on iOS 5 anymore).
Added a navigation controller subclass used to make sure the color picker is presented in portrait on iOS 6 and later.
A bit of cleanup.
For iOS 7 prevent the color picker from going under the navigation bar.