bump client version to allow update
Add update and edit routes, use build_dict_for_post on update form

Also includes changes to build dict for post to make update work.
Many changes to stagecraft to make this work have already gone in.
Add method to convert get response to form. Add hidden id.

The testing around this shows that the convert into a form and back out
into a post dict does not lose important info.
Add sensible create form things for the update case.
Dashboard module info should be json array

On the dashboard edit / create page the module info field should be a
json array of strings. This commit parses it as such and adds a bit of
validation around what's coming through.
Move title and description to the top of the form

- Seems like the most human friendly approach to doing a form to me
- I think about the title before the kind of service, and I feel like I'm not alone here
Merge pull request #64 from alphagov/move_title_to_top

Move title and description to the top of the form
Fix updating of module descriptions

The form field had been called module_description as it clashed with an
internal wtforms method called description, which stopped the magic
method working. Instead use .data and .fields, which we already do with
module_id
Recover 13 missing tests from changes to signed_in decorator

the decorator is now expecting to be called and then return the actual
decorator after doing some setup, without this, these tests do not run
but don't make a fuss which is a bit rubbish of them.
Merge pull request #61 from alphagov/tidy-dashboard-editing

Dashboard editing
Merge pull request #65 from alphagov/recover-missing-tests

Recover 13 missing tests from changes to signed_in decorator
Update published state when editing dashboard

This is a non user editable field (unless they edit the form field in
Firebug). It defaults to False for new dashboards, and will pull the
correct value from dashboards when editing them.
Merge pull request #66 from alphagov/send-correct-published-state

Update published state when editing dashboard
[#79509870] Remove a module when creating

This works in a similar way to adding a module. The module is removed
from the pending_dashboard in the session and the form is redisplayed.
Refactor prefix method to take prefix as an arg

This method can be reused for moving a module up and down a page as
well as removing it, so make it more generic.

Return a dictionary rather than a string. This dict includes the
prefix that we were using previously as well as the integer index
of the field we want to operate on, which we'll need to move
modules around.
Fix bug around removing middle module

If any module other than the last was removed the indexes were not
resequenced.
Add ability to move modules up and down

Only implemented for create so far