Added support for config-files

Added support for codeigniter config-files. See the documentation in the
file ./application/config/ciconnect.php

Also added a login() and logout() function and made the
deauthorize-function work.