Use anonymous sorting function in ArrayHelper::sortObjects
Add private constructor to disallow instantiation of ArrayHelper
Fix code style
General improvements to ArrayHelper (type hinting, scope, passing by
value)

- Add type hinting to array argument in toObject, toString, getColumn,
  invert, isAssociative, pivot, sortObjects, getValue
- Pass variables by value, not by reference (in methods without side
  effects applied to the arguments. So toInteger is an exception)
- toString's array argument is required, not default null
- Make arrayFromObject private (no use having protected methods in a final
  class)
Replace foreach with array_map in trivial cases
Change toInteger behavior

Now returns the converted array (instead of returning void and converting
the argument passed as a reference.)

- Change test to reflect new behavior
- Change Framework usage (in Joomla\Form\Form)
Update documentation for toInteger
Merge branch 'master' into improve-array-helper

Conflicts:
	vendor/Joomla/Form/Form.php
	vendor/Joomla/Utilities/Tests/ArrayHelperTest.php
Fixing joomla/joomla-platform#1279
Merge branch 'master' of github.com:joomla/joomla-framework
Code style fix. Remove trailing whitespace.
Fix non-namespaced dependency on JFactory in TestCase.
Get the form package working.
Get more tests running with namespaced code.
Namespace more code.
Remove getInstance methods from the application.
Merge branch 'improve-array-helper' of https://github.com/eirslett/joomla-framework into improve-array-helper
Merge pull request #1 from joomla/improve-array-helper

Improve array helper
Merge pull request #67 from eirslett/improve-array-helper

Some improvements to ArrayHelper - enforce the Utility pattern
Added notes about JCA