Fix for broken init_app

The update to init_app causes an Exception to be thrown every time if you instantiate RQDashboard with the app parameter not set to None