Move example app from spec/dummy to examples/
Merge pull request #41 from claudiob/move-example-middleman-app

Move example app from spec/dummy to examples/
Move middleman and railtie into core_ext/
Move extensions into Bh::Extensions module
Merge branch 'move-extensions-into-core-ext'
Move form_for helper into core_ext/rails

The `form_for` helper is currently implemented as an override of the `form_for`
method provided by ActionView, and therefore should only be available in Rails.
Move link_to helper into core_ext/rails

The `link_to` helper is currently implemented as an override of the `link_to`
method provided by ActionView, and therefore should only be available in Rails.
Merge branch 'move-into-core-ext'
Rename internal module AlertHelper->AlertBoxHelper
Rename alert_box.rb to alert_box_helper.rb
Merge branch 'rename-alert-box-helper-module'
Move alert_box helper spec into spec/shared
Pass `alert_box` extra params to the alert <div>

Before this commit, the `alert_box` helper ignored unknown options.
For instance the code:

```rhtml
<%= alert_box message, priority: priority, class: 'important', id: 'alert' %>
```

would simply generate the following HTML

```html
<div class="alert alert-success" role="alert">
  ...
</div>
```

ignoring the `:class` and `:id` parameter. After this commit, the result is:

```html
<div class="important alert alert-success" id="alert" priority="notice" role="alert">
  ...
</div>
```
Merge pull request #42 from claudiob/pass-extra-class-in-alert-box

Pass extra class in alert box
Add examples/rails showing helpers in use in Rails

Just `cd example/rails; bundle install; bundle exec rails server`
and you can see how the helpers are supported.
Merge branch 'add-rails-example'
Move button_to helper into core_ext/rails

The `button_to` helper is currently implemented as an override of the `button_to`
method provided by ActionView, and therefore should only be available in Rails.
Merge pull request #43 from claudiob/move-button-to-helper-into-core-ext

Move button_to helper into core_ext/rails
Reduce public API methods from AlertBoxHelper

Before this PR, including `bh` in an app would include more methods
than necesasry for alert boxes: methods like `alert_string` or
`contexts`, that should only be accessed privately.

This PR extracts those private methods into a new AlertBox class
that includes all the business logic to render elements and edit
attributes (e.g., attach classes), leaving the helper cleaner.
Reduce duplication when testing alert box context