Fixed broken links without hard-coding the name of the base directory
Fixed link for file_exists() function checking
Fixes #37
Fixes #39
Fixes #40
Fixes #38
Enhancement on resolved #38 to check whether insert/update is successful.
We are now PSR-1 compliant!
Fixes #41
PSR-2 compliancy + some quick PSR-1 compliant updates
Missed a method's scope definition for PSR-2 compliance...
log.php saves accidentally  did not propagate into the last commit...
Merge pull request #36 from tpunt/master

Fixes a number of issues.