Update gems, add rubocop and remove all trailing spaces