Be picky setting the primary (originator) query as a Query parameter.

`\Cake\ORM\Query::$_primary = true` only for the primary query, every other
query originated from that one will have the value set to `false`.

`Query::primary()` will return the query `_primary` value.
`Query::primary(true)` will mark the query as being the primary.
`Query::primary(false)` will mark the query as being a byproduct.
Mark belongsTo and count queries as not primary too.
Update Query::$primary and Query::primary() names.

To Query::eagerLoaded and Query::eagerLoaded(), respectively. To reflect
the real purpose of the variable/function.
Update help/option parser for FixtureTask.
Start updating fixture task tests.
Get a bunch more of the FixtureTask tests passing.

Still a bunch of work to do on cleaning things up.
Allow directly passing a callable for Request::addDetector()
Update remaining tests and fix path issues.
Add early return to save some tabs.
Use semantic version for test cases since doc block
Fix typo
Merge pull request #3057 from ADmad/3.0-request-detector

Allow directly passing a callable for Request::addDetector()
Merge pull request #3055 from markstory/3.0-fixture-bake

3.0 fixture bake
Merge pull request #3061 from bcrowe/3.0-src-ver

3.0 - Use semantic version for test cases since doc block
Change reference to the helperclasses in the docblock
fix: 0 rows affected treated as an error

Updating dirty entities fails when dirty properties are "chaged" to same
values.

Rely on SQLSTATE code instead of counting affected rows.

Reproduce this issue:

$article->accessible('*', true);
$article->set($sameValuesFromFormSubmit); // gets marked as dirty
$this->Articles->save($article); // return false [0 rows affected]
Merge pull request #3064 from Baumzebra/3.0

Change reference to the helperclasses in the docblock.

Fixes #3063
Add tests for #3065

When an entity is dirty but contains no actual changes to the row we
should count that as successful update.

Refs #3065
Merge branch 'empty-entity-save' into 3.0

Fixes #3065
Merge branch '3.0' of github.com:cakephp/cakephp into 3.0