use Guard::Compat

- added Rake task
- upgrade to RSpec 3.1
- add RuboCop and Guard-RuboCop
- add specs for template
- fix RuboCop offenses