Explicitly set type code in spec generators.
Only run `test:prepare` task if available.
Add note to Changelog.
Merge pull request #1021 from rspec/default-type-metadata

Update generator template to add `:type` metadata by default
Merge pull request #1022 from rspec/check-test-prepare-task

Only run `test:prepare` task if available.
Update cuke feature with style changes.

- Capitalize scenarios
- Use backtick code blocks inline, even in scenario descriptions, and in
  feature details
- Wrap whitespace to 80 columns
- Use `RSpec.` top level
Cuke scenario describing failing behavior.

The namespace does not appear to be preserved when using an anonymous
controller.
Fix anonymous controllers namespaced routes.

- Using `resources` directly does not support `namespace`. The
  equivalent behavior can still be derived by manually adding in all of
  the options: `:as`, `:module`, `:path`.

  - http://api.rubyonrails.org/classes/ActionDispatch/Routing/Mapper/Resources.html#method-i-resources
  - http://guides.rubyonrails.org/routing.html#prefixing-the-named-route-helpers

  > The `namespace` scope will automatically add `:as` as well as
  > `:module` and `:path` prefixes.

- Named routes are prefixed with an additional 'anonymous_' to prevent
  the rare edge cases where someone has manually defined a conflicting
  named route with the base namespace controller.

- Setup new spec context to test this state case
Update Changelog entries.