Test that an unpublished category unpublishes associated concepts
Update concept manager test to fix category assignment
Require a published category(if not null) for concept published set
Merge pull request #163 from cbmi/issue-158

Require a published category(if not null) for concept published set
Exclude concepts without fields from the ConceptManagers published set

This commit includes a test to make sure that this is indeed the case.
Merge pull request #164 from cbmi/issue-150

Exclude concepts without fields from the ConceptManagers published set
Migrate search features to use Haystack 2.x

This currently uses haystack 2.0.0 and whoosh 2.4.1. Note, this is not
latest stable versions of either due to incompatibility issues. See
http://stackoverflow.com/a/19502309/407954
Add comments to explain the Haystack functionality being used
Update search document templates to not render None values

This utilizes the template filter `default` to replace None values with
and empty string.
Searching for the empty string returns zero results
Fix formatting for flake8
Define a fixed set of data values to test against

One of values failed ("IT") due to it being a stop word. To prevent these
hidden issues from cropping up as development continues, an explicit set
of values are now tested.
Define a base DataIndex class to remove redundancy

Note, the indexes.Indexable mixin cannot be used unless get_model
returns a valid model. That is the reason why it is used in the subclasses
and not the DataIndex class.
Abstract out search method to remove redundancy across managers
Remove unnecessary cast to list from ValueListQuerySet in tests
Merge pull request #165 from cbmi/haystack

Upgrade to Haystack 2.0.0
Replace built-in ObjectSet and SetObject classes with django-objectset

This is defined as an optional dependency. For backwards compatibility, the
avocado.sets.models module remains for now to not break existing imports.

One hook that can be defined is defining the `label_field` attribute on the
ObjectSet class to denote which field should be treated as the label of the
sets.

Fix #75
Add a few blank lines for readability
Remove unnecessary raise statement
Merge pull request #166 from cbmi/issue-75

Replace built-in ObjectSet and SetObject classes with django-objectset