Add best practices for Ruby gems

Content is from old thoughtbot development handbook.