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
First cut at making Cache Psr\Cache (draft) compatible.

Refs #29
Add some basic docs to the Cache package.
Fix up some cache bugs.
Added Cache package to sub-split
Merge pull request #79 from eddieajau/Cache

Cache improvements
Make the Registry class implement ArrayAccess.
Change Cache package to use an ArrayAccess object for options
Add a mocking helper to the Cache package.
Merge pull request #80 from eddieajau/Cache

Decouple Registry from the Cache package
Updating Cache constructor to accept array() or \ArrayAccess
Merge pull request #81 from joomla/ArrayAccess

Updating Cache constructor to accept array() or \ArrayAccess
Fixing joomla/joomla-platform#1279