[#781] Begin improving IFacets docs

Better docstrings and an example extension for IFacets. Both still need
some work..
Allow specifying user when creating a group using the factory

With this, we're able to create a group owned by a specific user.
new_tests.helpers.call_auth now work for any auth type (update, create, ...)
[#1505] Fix bug when non-sysadmins invited users to organizations

The problem was with the .user_invite() auth function. Instead of adding 'id'
to the data_dict, I was adding it to the context. Fixed now.

I've also changed it to require a data_dict, and a data_dict['group_id'] (as
they're required anyway).

While I'm at it, I rewrote the tests into the new testing style.
Merge branch 'master' into 1505-invite-to-organization-causes-error
[#1505] PEP8
new_tests.helpers.call_auth now uses logic.check_access
Instead of importing NotAuthorized in test helpers, do it on the test file
Change way to call nose's assert_raises, so it works on Python 2.6
[#1594] Fix breakage in package groups page

The group.type field, when undefined and merged with a unicode string
returns a unicode, which causes a traceback thanks to `url_for` in
pylons not accepting unicode.
Move the closing div inside the block

Fixes #1619. Move the closing div inside the block since it's defined
in the block anyway.
[#1505] Merge tests that verify that the user was invited and it is pending

This is a tiny compromise in readability (IMO) to make the tests a bit faster
[#1505] Test not only the method call, but also that we're returning the value
[#1505] Test for actual True-ness, and not truthiness.

If we don't add the ```is True```, any truthy value works (i.e. 'string').
Merge branch 'master' into 1505-invite-to-organization-causes-error

Conflicts:
	ckan/new_tests/factories.py
[#1505] Fix tests on Python 2.6
Merge branch 'master' of github.com:ckan/ckan into 781-improve-ifacets-docs

Conflicts:
	setup.py
[#781] Finish the IFacets docstrings
[#781] Remove the example IFacets plugin

It has no tests, and I'm not going to write any for it right now.
Merge branch 'master' of github.com:ckan/ckan into 1505-invite-to-organization-causes-error