[#1723] Do not show create fields in member edit
[#1701] Move and clean up search index tests
[#1701] Add tests for date fields, including a failing one for #1701
[#1701] Don't index empty dates as the current one

When parsing an empty string, dateutil will always use a default one,
which by default is now(). We use here a fake date to see if that was
the case, and if so remove the value from the dict to index.
[#1767] Fix bug with send_email_notifications not working with paster

The problem is that our validators notice that .send_email_notifications()
didn't call its auth functions and raise an Exception. But it shouldn't call
it's auth functions when being called with paster anyway, so it's correct.

This fixes that.
Use assert_raises instead of the full nose.tools.assert_raises
[#1776] Fix bug when upserting [] on JSON column in the datastore

We were testing that the new value wasn't `None` using `if value`. As `[]` is a
falsy value, we never went through that `if` and ended up trying to run an
invalid SQL query.

This commit fixes that by explictly testing `if value is not None`.

This was first discovered in
http://stackoverflow.com/questions/24207065/inserting-empty-arrays-in-json-type-fields-in-datastore
Fix some Sphinx warnings
Add a test for Sphinx errors or warnings
Fix some Sphinx warnings
PEP8
Print reason when building docs fails

Print the reason when the building the docs test fails because Sphinx
exits with non-zero. Should help debug this test on Travis..
Don't use subprocess.check_output()

It isn't in Python 2.6
Print reason if getting CKAN version in docs fails

Trying to debug a problem building the docs on Travis..
Don't crash docs build if `git tag` fails

For some reason `git tag -l` seems to be outputting nothing on Travis,
which makes the docs build crash on Travis.

Instead of crashing just use an empty string for the CKAN version, which
will break the docs but no one reads the docs that Travis builds anyway.
Typo
Move check_output() to shared function

Remove two duplicated check_output() functions.

This also fixes a Python 2.6 error that when the subprocess exited with
non-zero check_output() was calling CalledProcessError with an argument
that doesn't exist in 2.6.
Fix a typo in a docstring
Fix a Sphinx error on Travis
Fix #1710. Replace "missing_fields" by "non_existing_filed_names" in order to get correctly the list of non existing fields