Reorganises gems in Gemfile to groups