Fix for the initialization of the main menu items.
added the ability to set reports restriction to readability of learning progress in the org units
fixed a bug where code broke if there were no users accessible.
Merge pull request #1 from otruffer/dev_fix_menu_initialization

Fix for the initialization of the main menu items.
Merge pull request #3 from otruffer/dev_restriction_additions

Dev restriction additions
first try for a fix on new line and tab character removement in queries
forgot a dot :(
forgot some spaces
trying a more general solution for the tabs problem.
reverted changes from first commit in favor of the general solution.