Bumped rails to 4.0.2 and others, fixed N+1 queries found by bullet