Reorganize gemfile into groups for production, development, and test

Also removes better_errors and binding_of_calling from production environment.