Improve API.

When trying to get a single object, inspect the path to make sure that
is the case. The last path component should be a valid ObjectID, so use
that in the querydict. Without this change the QuerySet returned by this
object are the entire collection, which is then filtered down. With this
change only the matching results will be returned, which should improve
performance on large collections.

Fix a bug where someone could specify a size or schema_version parameter
that does not cast to an int properly which would throw an exception.
Now, if the cast doesn't work we just use the string which will end up
returning an empty result.
Merge branch 'master' into api_improvements
Merge branch 'master' into api_improvements
Removing legacy file. No longer used.
Update DEPENDENCIES to reflect current core requirements

Listing directly-imported python libraries and their dependencies
Added build notes regarding sub-dependencies
Separated dependencies from optional items from those that are standard
Merge pull request #248 from dsnellgrove/fixdeps

Update DEPENDENCIES to reflect current core requirements
Merge pull request #219 from crits/api_improvements

Improve API.
Add ability to add indicators from Event details.

View and handler for adding Indicators and auto-relating them to an
Event.
Merge branch 'master' into stable_4