Removed BINARY_PK from definition file.
Fixed two dao::limit() bugs in resource and role controllers.