Merge pull request #267 from maciejlew/master

Moves some LMS methods to separated classes with backward compatibility
[userpanel] update lastdate when customer confirms message
Adds getters and setters for DB, AUTH, SYSLOG and cache in LMS class
Allows plugins to determine their own modules directory
Allows plugins to modify LMS object
Allows plugins to modify SMARTY object