Make ArraySource compatible with CakePHP2.5.2

Added isConnected function to ArraySource so it is compatible with CakePHP 2.5.2

Resolves https://github.com/cakephp/datasources/issues/107
u mean it should be bool instead of boolean? all the original files have it.