fixed issue that caused bad redirect using  when the Images controller was used - relates to Issue#417
emailer lib: fix misleading default function values and comment

enable_debug() with no arguments should not disable debugging
queue_emails() with no arguments should not disable email queueing

queue_emails(TRUE) does what it sounds like.
Fix the comment that says it disables email queueing.
emailer lib: remove unecessary use of references

At least for passing input-only arguments there's no benefit
since PHP 5.0.  (Allegedly, there's some potential cost as well).

<http://schlueters.de/blog/archives/125-Do-not-use-PHP-references.html>
emailer lib: implement send($d, FALSE) as expected by email test method

FALSE was the default value, so passing it didn't achieve anything.
What the test method was _trying_ to do was force the email to bypass
the queue, so we could get useful debugging information.  (For testing the
queue there's already an "insert test email" button, which passes TRUE).

Treat $queue_override as a tristate: null by default, but can be set to
either TRUE or FALSE.
email test results: not a flash message, so remove the close button

The message doesn't appear at the top of the page like the other
close-able messages.  It's associated with a heading and a debug section,
so it doesn't make sense to close it on its own - it looks really silly if
you do.
Update modified, modified_by, and deleted_by fields

in update_batch, update_where, and delete_where.
Fix for #559
user resend_activation: Fix missing id referred to by form label

I missed this one earlier.  There's no link to it until you have a user
who needs activating.  I had a look for any other front-end controllers,
but I think users is the only one, and I've already covered its other
methods.
gitattributes: let git diff headers show us the PHP function
Merge branch 'develop' of https://github.com/ci-bonfire/Bonfire into develop
mailto uris don't start with slashes

One more instance of this.  A global grep says there shouldn't be any
others left.
Merge branch 'fixes/email' (early part) into develop
Fix placeholder names for CSRF cookie and POST parameter

I enabled CSRF protection, but I forgot we had these funny names in here.
The defaults I see in the CodeIgniter Security class look much better, so
let's use those.

These names will crop up when people are writing AJAX code, so it's worth
fixing.
Merge branch 'develop' of https://github.com/ci-bonfire/Bonfire into develop
Assets::clear_cache() also delets the index.html file; this puts it back in after deleting the cache
users auth: dos2unix

Change line endings in one file from dos to unix style.  Split out of a
3-line patch (to follow), in order to maintain clean history.

Git core is binary-safe.  However, multiple committers are apparently
not using line-ending agnostic environments like KDE.  (Personally,
my editor works that way, but I could do without the ugly ^Ms in
git-diff).

GitHub recommends using Git features which store unix-style line endings
internally, but allow automatic conversion on checkout.  Configuring the
automatic conversion is on my TODO list :).

https://help.github.com/articles/dealing-with-line-endings
Error attempting to use auth->role_name_by_id()

When attempting to use auth->role_name_by_id(), the library throws an
error, attempting to call method select on a non-object. Fixed by
checking to see if the Role_model class exists and, if not, loading it.
dos2unix, i.e. normalize line endings, using gitattributes

Git core is binary-safe.  However, multiple committers are understandably
not using line-ending agnostic environments like KDE.  (Personally,
my editor works that way, but I could still do without the ugly ^Ms in
git-diff).

.gitattributes recommended by Github [1]

Conversion commands suggested by updated Stack Overflow answer [2]

    $ rm .git/index     # Remove the index to force git to
    $ git reset         # re-scan the working directory
    $ git status        # Show files that will be normalized
    $ git add -u

[1] https://help.github.com/articles/dealing-with-line-endings#platform-all
[2] http://stackoverflow.com/a/4683783/799204
Merge pull request #563 from mwhitneysdsu/develop

Update modified, modified_by, and deleted_by fields
Merge pull request #570 from tricinel/develop

Fixes #471 on the Image controller
fixed issue that caused bad redirect using  when the Images controller was used - relates to Issue#417