Fix some compilation warnings in release mode and with GCC 4.6
Merge branch 'reql_admin' into tim_uuid_primary_key