Convenient navigation controller subclass for changing the status bar background color in iOS 7 and setting status bar style and hidden property based on top view controller or root view controller.