User model: added tests for registered_exactly_on and registered_on
User model: avoided using mysql DATE function in registered_exactly_on
User model: avoided using mysql DATE function in registered_on
Optimized MySQL indexes on user table