refs #1630:
 - remove strict warnings for static method calls which are not defined
   as static (if method bodies do not include `self` or `$this`, they
   should be defined as static!)
 refs #1630 : bugfix - remove deprecated functrion.

 - Changed deprecated mysqli-related function in mysqli debug to be compatible with PHP
 5.5
 refs #1627 : bugfix - DBMS unbind timing is changed.

 - Session write / close work after standard PHP shutdown (from PHP 5.4). However, POD unbinds database connection right after screen printing is finished. Therefore session write returns warning, and did not work properly.