Port couch_mrview/01-load.t etap test suite to eunit
Port couch_mrview/02-map-views.t etap test suite to eunit
Port couch_mrview/03-red-views.t etap test suite to eunit
Port couch_mrview/04-index-info.t etap test suite to eunit
Port couch_mrview/05-collation.t etap test suite to eunit
Port couch_mrview/06-all-docs.t etap test suite to eunit
Port couch_mrview/07-compact-swap.t etap test suite to eunit
Move files out of test/couchdb into top level test/ folder
Update include paths
Use ?ADMIN macros from couch_eunit.hrl
Switch to using test_util:{start,stop}_couch
Admin user again
Disable problematic tests
Use ioq to separately prioritise compaction requests
fix stats path
new IOQ api
Merge remote-tracking branch 'origin/1963-eunit-bigcouch'
add couch_mrview:view_changes_since/{6,7} function

This function add the possibility to get changes in a view since the
last upddated sequence. You can all changes in a view since a sequence
or all changes for a key or a range in a view.

The following new secondaries are created to allows this feature:

- a generic log index to log the latest changes in views for a docid :
{DocId, [{ViewId, {Key, Seq, OP}}]} where OP can be del or add. This
index allows us to mark a key as removed if needed. It will be useful
later to help us to chain map/reduces operations or such things.

- a seq index associated to a view id : {ViewId, [{Seq, Key}, {DocId, Val}]} to look for all changes in a view

- an index indexing keys by seq: {ViewId, [{[Key, Seq], DocId}, Val}]},
  to looks for changes associated to a key or a ranhge

Note: all deleted keys are marked as deleted in the log index and their
value is {[{<<"_removed">>, true}]}.

To start to index changes you need to pass the options {seq_indexed:
true} to the design document.

Caveat: when the changes are indexed the size of the index is significantly higher.

Example of usage:  https://www.friendpaste.com/5Y6gihQReaxd8ERqbDom3y

Conflicts:
	src/couch_mrview_updater.erl
	src/couch_mrview_util.erl
couch_mrview: fix purge when seq_indexed=true

This change makes tsure to also purge the log btree and related btrees
in views when seqs_indexed is set to true.
couch_mrview: fix changes log

This changes make sure we pass correct keys to remove to the seq and
key_byseq btrees in views.