Merge branch 'release/0.5'
Updating the version
Fixing the version number
Moving to version 0.6
builder generated index_front: escape values from user-editable data

I commented on #555 about fixing XSS in builder-generated code.
I missed this file at the time - I don't think I'd checked it for
_anything_ before.

So all the view files in the builder should be covered now, which
are the obvious places to look for XSS in.
builder generated index_front: valid markup for table heading

fix for

    Error: "th" start tag in table body
Modify model's update to be more flexible

Accepts either the primary_key value that was previously accepted as
the first argument, or an array to supply as a where clause. The $data
array is still the second argument, followed by a $limit value as
available on $this->db->update().

We could potentially deprecate update_where() as well.
Remove redundant call to exit() after Template::redirect()

redirect() already calls exit().  We assume this behaviour everywhere
else, inconsistency can only make it more confusing.
Remove comment referring to removed sidebar

(Redirects vary between modules, so the code may as well stay there for the
time being)
Remove use of Template::redirect() in the admin area

This is pure cleanup, not trying to solve any functional problem.

bonfire/application contained 70 redirects overall.  30 of them were
Bonfire's Template:redirect(), as opposed to CodeIgniter's redirect().
In the admin area, Bonfire no longer uses AJAX, so they make no difference.

New code like the language module doesn't use Template:redirect() at all.
Any fine distinction that's not currently used is just going to get
bitrotted and confusing.

There are a few uses outside the admin area (and in libraries which can be
used outside it).  Leave them alone; they may be useful.  In particular,
the redirect when auth::restrict() fails, which we want for the remaining
AJAX on the email test button.
Template::redirect() - use valid markup

Provide doctype, and title element.

Also provide charset.  This was the original reason for looking
at Template::redirect().  utf-8 is already hard-coded in
application_helper, and there's no reason to tolerate anything else.
Template::redirect() - fix escaping of url
Remove $limit from update, shortcut update_where
fix #591 install error Multiple Migrations - rename 034_Banning_users_fix.php to 035_Banning_users_fix.php

Reported-by: Bogdan Lazar <bogdan@blazardesign.com>
users auth: fixup, ->permissions needs to contain numeric ids as well

Reported-by: Bogdan Lazar <bogdan@blazardesign.com>
(see #591)

Caused-by: yours truly
(see #557)
Fix where clause when passing an id
permissions settings: fix text of "cancel" link

lang('bf_cancel') does not exist
Remove unnecessary quotes
install: fix warning from html5 validator (unnecessary ".." in url).

Shut the validator up, and save three bytes.

warning: Bad value "http://alan-desktop.scree.dyndns.org/Bonfire/install/.."
for attribute "href" on element "a":  Path component contains a segment
"/../" not at the beginning of a relative reference, or it contains a
"/./".  These should be removed.
Merge branch 'model/update' into develop (issue #590)