storage.disk_space function from ddr-local
unit tests for DDR.dvcs
models.parent_id now returns collection parent org
unit tests for DDR.models
docstore._clean_topics and _clean_facility now accept more formats

These functions now work with ID numbers as ints, strs, and in
strings in brackets.
added some tests that require an Elasticsearch server

Note: these can be disabled
added repository merge functions from ddrlocal.webui.merge

These didn't really belong in the web app.
mv DDR.dvcs.gitolite_orgs function from ddrlocal
dvcs.latest_commit: hash,branch,timestamp of repo's latest commit

Replaces ddrlocal.git_commit
moved dvcs.git_version from ddr-local

Function is used to report the versions of Git and git-annex
used to manage the repository at the specified path, or the
current working directory.
moved DDR.models.file_hash from ddr-local

Convenience function used to get hashes for files using various
algorithms.
moved DDR.models.module_(xml)_function from ddr-local

This is the function used to execute functions from model
specification modules when loading,displaying,editing objects.
moved DDR.models.write_json from ddr-local
moved support functions for inheritable fields from ddr-local

These are used to determine which MODEL_FIELDS can be inherited
by a Collection's or Entity's child objects.
Note that the actual inherit() function refers to MODEL_FIELDS
so it's not ready to be migrated yet.
moved Collection,Entity locking functions from ddr-local
moved repository fetch and status functions from ddr-local
added DDR.models.dissect_path

This function gathers in one place many functions for extracting
metadata from an object's absolute file path so there is less
need to refer to other objects.
moved DDR.models.model_from_path for code clarity

Put it right next to dissect_path
import datetime for a test function

This was supposed to have been included in commit c2677c3
but I was not able to rebase it in.  Models tests since that
commit will fail because of the missing import.
Merge branch '201406-unittests'

Conflicts:
	ddr/DDR/docstore.py
	ddr/DDR/tests_docstore.py