Merge pull request #7 from xcompass/master

Fix when using init_app, cas.username fail
Added tests to catch init_app error
Added app property which selects self._app or current_app
version bump