LMSConfig integration

Fixes some bugs in LMSConfig.
Adds user priviledges integration to LMSConfig.
Replaces check_conf and get_conf functions.
Merge pull request #235 from maciejlew/lmsconfig

LMSConfig integration
Loads user rights to LMSConfig