Fixed the basket dropdown in flatpages
Merge pull request #332 from informa/fix/basket_in_template

Fix basket dropdown in flatpages
New template block around dashboard nav
Add docs for order status pipeline
Reorder model fields
Upgrade django-extra-views
Allow the user of an order to be specified

This helps with B2B situations where a sales rep places an order on
behalf of a customer.
Backport dashboard improvements from ChocolateBox

Includes:
* Reworked CSS
* New image field for product form

Reworking of #326
Adjust dashboard templates (following pull request #326)

* Add missing i18n tags
* Tidy pagination
* Minify CSS
* Remove dead HTMl
* Remove simple settings file

Closes #326
Fix dashboard tests broken in #326 :blush:
Add fix for OrderDiscount model when offer deleted

The OrderDiscount did not store (a copy) of the offer
name within a separate field which causes an issue when the
offer is deleted. E.g. it breaks the order history view for
the customer because no offer data is available.

I have added a new field to OrderDiscount that is automatically
populated from the offer.name field. This works in the same way
as voucher_code does in the same model.

I also found two issues with the voucher implementation within
the same model that are fixed now.

Fixes #330
Fix migration issue with backfilling offer names

Seems the property is not accessible from within a migration.
Add mark-up guide for forms
Textareas in dashboard now have wysihtml widget

Almost all textareas have it enabled.  The corresponding variables in
the main templates have been marked 'safe'.

There are a few areas where the whitespace around the description isn't
quite right.  Will fix later.

The widget is enabled by setting a class on the form 'wysiwyg'.  It's
much easier to use the form classes as you don't normally have access to
the textarea classes directly.  To do that, you would need a custom form
widget and to build each form class to use it (rather than relying on
modelforms).  We may have to switch to this at some point if the current
implementation becomes too clunky.  We'll see.
Enable debug toolbar on sandbox build
Remove accidentally committed images
Add new form.html template to make creating forms even easier
Correct initialisation of stockrecord form

Fixes #336
Make offer description text as safe in delete template

Also consolidate the offer summary mark-up into a partial.

Fixes #346
Fix template issues with stock alert

Product was not resolving properly due to context change.

Fixes #342
Fixes #338