Major update

LinkSQL now uses mysqli
add some shorthand methods to MessageManager
Pager default template updated to work with current version of Template
class