NOJIRA prevent warning
Merge branch 'develop' of github.com:collectiveaccess/providence into develop
Merge branch 'develop' of github.com:collectiveaccess/providence into develop
Merge branch 'develop' of github.com:collectiveaccess/providence into develop
Merge branch 'develop' of github.com:collectiveaccess/providence into develop
NOJIRA Hide lot link in inspector when user does not have access to that type of lot
NOJIRA Limit dates in normalizedDate facet to near future to avoid runaway facets when data has bad huge years (happens way too often)
NOJIRA properly support lifetime=0 logout when browser quits
NOJIRA wrap element_id list properly
NOJIRA Make ckeditor fields readonly when record is in readonly mode
Ignore files generated by DOMPDF library.
NOJIRA Documenting method return types

Also remove irrelevant TODO as there are now tests for this refinery.
Serve *.map files, for minified JavaScript.

Allows original (unminified) source to be used in firebug and
other browser developer tools.
Add --skip-roles to speed up travis builds.

Roles are not necessary for any of the tests, and some profiles
might have many roles which accounts for a large portion of the
time for a Travis build.

Strictly this does not affect the profiles being tested, but in
our fork we have our own profile added to the list, and this has
decreased the time for a Travis run significantly, so the same
might be true for other forks wishing to put their own profile
through the Travis CI.
NOJIRA Adding a datareader for Vernon xml export

Vernon (http://www.vernonsystems.com/) has an xml export format. This
makes it possible to read their specific format
NOJIRA Add paging to MysqlDataReader

Makes it possible to limit the data source using the connection string:
* Adds an optional limit and offset to the data reader. mysql://username:password@localhost/database?table=tablename&limit=100&offset=10
Use redirects during login process.

When loading a page while not authenticated, the user is now
redirected to the login page (`system/auth/login`), with a
`redirect` URL parameter set to the (encoded) URL of the original
page.  This `redirect` parameter is passed through any number of
unsuccessful login attempts, each of which loads the URL
`system/auth/login` with the `redirect` parameter.  Following a
successful login, the user is taken back to the URL given by the
`redirect` parameter (i.e. the original URL), or to the dashboard
if no `redirect` parameter is given.

Previously, the login form was rendered "at" the original URL, and
this did not play nicely after a failed authentication attempt -
the user would always be taken back to the dashboard.

This is also better from a pure URL management perspective -- each
URL has a single purpose and that purpose is never subverted by the
login mechanism (only diverted).
Fix typo in constant name.
Add check for existence of object before deref.

This was relevant at some stage, sorry I can't remember what the
actual issue was, but in any case it is always safe to check an
object for non-falsy value before dereferencing it.
NOJIRA EmptyDelimiters for MultipartIDNumber

Previously you could not have an empty delimiter for multipart id numbers so it was not possible to create idno's like T123456. This PR makes this possible.
* does all of the exploding in a single function called explodeValue
Caveats:
* You can't have two elements of the same type next to eachother with no delimiter