Modified log library with templates
DB support added in logs library
XML support REMOVED from logs library for now
minor change in test case
Return the readable port in $port.
Add a minor test for CLI situation.
Remove nonworking test that called method that does not exist.
closes issue #30
Return NULL for both Port and PortReadable if asked in CLI context.
Fix some coding style.
Revert major style changes in the rest of the file.
error message is not needed here

I don't think the function refreshSession() need to display error message if session has timed out as its task is to refresh session irrespective of session has timed out or not
Displaying an error message here doesn't seems to be a nice option as newSession() is being called in the next step
Have a look
no need to display an error message here

I don't think the function rollSession() need to display error message if session has timed out as its task is to refresh session irrespective of session has timed out or not
Displaying an error message here doesn't seems to be a nice option as newSession() is being called in the next step
Have a look
error message not needed

as session is being refreshed error message is not needed here
Merge pull request #46 from mebjas/master

bug in session library
Merge pull request #36 from SvenRtbg/issue-30

Return the readable port in $port.
moved from forked to main project
Merge branch 'master' of https://github.com/OWASP/phpsec
Scanner library added
Rewrite calls to "assertTrue" - using dedicated assertions enables better error messages.
Remove all the database execution from confidentialString tests.
Fix some coding style.
Fix some coding style.
Move setUp and tearDown close together (easier to validate the setup is properly undone)
Add variable for the test object ($pdo) and rename to $database (it's no PDO object, the name is misleading).