Partials for showing blocks information

Notice that some partials and locales are defined in the application. This is because those block layouts are defined in the app, so their views information must be in the same app
Blocks are edited and updated

We had to include the blocks in the strong parameters in a rough way with a merge
Building empty blocks so we have the forms in the front

The idea is reusing that forms for building new blocks on the page
Requiring jquery-rails
Requiring jquery in JS
JS creating blocks when editing pages

Right now it only creates blocks with the default template. Next step would be to be able to change a block layout and reload the fields
Installing Poltergeist for JS testing
Configuring db cleaner and shared db connection

Poltergeist need that all ActiveRecord objects share the connection (otherwise requests wouldn't be able to work with the records created in spec)

Also, DB Cleaner should be configured to clean the databases.
Spec for creating a default layout block
Adopting other tests for Poltergeist

Highlight: We had to configure show_exceptions in the app so 404 errors reach capybara
Now we can edit a block layout

Finally we can change a block layout, edit the new fields and store them
ncoms_pages version
Merge branch 'features/editing-blocks'