Added use of App.get_running_app() in views. Using kwargs properly.
Using kwargs for statechart init. Marked statechart functions with @classmethod. Changed categories and list_item_args_converter of these functions to be local.