Merge pull request #40 from sambohler/master

Fixes PHP5.4 Issues and improves debug logs
Bumped Wordpress version requirement to 3.9