Remove executable bit on .php files
Use boolean constants since entity column is bool
Use DQL instead of (mysql specific) sql
Revert "Remove executable bit on .php files"

This reverts commit 3667975abbefaae96408c246b86fea7b811c341a.
More 0/1 -> false/true changes
Revert unnecessary getResult()
Base64 encode/decode to prevent NULL(0) characters in database
Merge pull request #5 from GCth/master

Fix mysql-specific errors
Merge pull request #8 from GCth/issue_6

Base64 encode/decode to prevent NULL(0) characters in database
Add indexes to the database table
Merge pull request #9 from patrickli/pull-request/add-table-index

Add indexes to the database table
Merge remote-tracking branch 'upstream/master'