Merge pull request #1851 from elkarte/patch_1-0-1

Patch 1.0.1
! tweak docblocks, had to start with something :P
! missing require now that the function is in the right place
! couple of unused globals
! since 1.1 is 5.3, lets simplify this function
! until that class is updated, this is needed
! the search classes are not lowercase
! reduce the dependency on substr/strpos in the autoloader
! move some logging db functions to their own subs file
! Move function to Logging.subs.php
! Update to point to new file location
! move logging functions from auth to logging
! moved location of function
! moved file location
! make the tests work :pray:
! commit new logging.subs file
! remove debug line
! fix db error due to rearrangement
! take care of todo on private var
! add a simple hook here