Split test method up.

Smaller tests are easier to debug when they fail.
Start updating inputs().
Get the legend element working again.
Update tests for inputs().

While still failing, these tests should pass eventually.
Add fieldNames() to Form contexts.

Generating inputs based on only an entity requires knowing the field
names, so we'll need a way to reflect that data as well.
Remove redundant test and fix failing tests.

Remove a redundant test for disabling the fieldset, and fix remaining
fails.
Remove legend/fieldset classnames.

This formatting should be handled with templates now.
Remove deprecated parameters and update tests.

Remove deprecated forms of inputs() and update tests. Shuffle tests
around to match the separation added earlier.
The $fields parameter should only handle customizing fields.

The fields parameter should not duplicate the functionality found in the
blacklist parameter. Instead it should only allow customizing the
generated fields.
Merge pull request #2944 from markstory/3.0-form-inputs

3.0 Update FormHelper::inputs()
Remove a number of unused methods from Helper.

These methods were only ever used by FormHelper in the core. They are
complex and not useful not that FormHelper does not persist state.
I'm not aware of many userland Helpers that used this functionality
either, which makes their removal more straight-forward.
Allow the EntityContext to read from the request data.

Reading from the request data is helpful when you are making forms, as
you might need to access data that has not been added to the entities
that compose the context.
Optimize helper event listeners.

Most of the core helpers don't use event listeners. Stubbing out the
methods saves 6 calls to method_exists() per helper.
count() and serialize() should be uniform.
Merge pull request #2960 from bar/patch-2

count() and serialize() should be uniform.
Missing dots.
Query::applyOptions() is a function not a property.
More dots added, some removed. Also a typo was removed.
Fix failing tests.
Avoid decorating COUNT statements.

Because they only return a number, the decorators will fail expecting
non existent keys.

Fixes https://github.com/cakephp/cakephp/issues/2947