Fix typo spotted by atrol
misc fixes for 2.x
Initial work at adding MantisContext class concept
Removal of bulk of current_user_* api