Fix failing test.
Fix typos.

Refs #2837
Fixed docblock formatting.
Merge pull request #2842 from markstory/3.0-checkbox

3.0 checkbox
Update label() to use the new widgets.

Replace Helper::domId() with an implementation on FormHelper. This new
method simplifies the ID generation and removes the stateful entity()
feature that has been problematic in the past. Now there is no shared
state between method calls which will simplify the internals of helpers
quite a bit.
Remove type as a separarte option.

Some FormHelper tests want to make buttons with no type. Therefore, it
cannot be a required attribute.
Update button() to use new widget classes.
Update tests for FormHelper::postButton()

Since this method just combines fixed methods it can continue to pass.
I've decided to remove random id attributes from the CSRF and
SecurityComponent fields. Because the ID values are random they are
impossible to use for scripting which is the main utility ID attributes
provide.
Re-enable tests for FormHelper::postLink()

This method also combines other existing methods and can be easily
re-enabled.
Remove bogus test.

This test does nothing useful anymore. Remove it.