removed unused str2bool function from Common.php
re-formatted Session.php for greater PSR-2 compliance