More copyright updates
Fix broken tests
Updated .gitignore, synced app & skel

Added some good practice rules from https://help.github.com/articles/ignoring-files to gitignore
Changed .gitignore to only ignore /app/Config/database.php instead of all files in /app/Config/ (helps to keep it in sync with its skel folder!)

Brought \app\ and \lib\Cake\Console\Templates\skel\ in sync
Fixed various @package annotations in \app\
Fixed various @package annotations in \lib\Cake\Console\Templates\skel\
Merge pull request #1122 from ravage84/skel-sync+gitignore

Updated .gitignore, synced app & skel
Merge branch 'master' into 2.4
Added type hinting
Fix failing tests caused by previous commit
Breaking out the find so that it can be easily overloaded for caching

Before this commit you have to do some hacks to cache model finds easily. When using
custom find methods like `find('foo')` => `_findFoo(...)` it is common for the
method to adjust the query params.

Trying to cache a query using a hash of the query params :

	function find($type, $query) {
		$query = $this->_beforeFind($query);
		$cacheKey = $type . '_' . md5(selialize($query));

		$cache = Cache::read($cachKey, 'my_cache');
		if ($cacheKey !== false) {
			return $cache;
		}

		$results = $this->_afterFind($type, $query);
		Cache::write($cacheKey, $results, 'my_cache');

		return $results;
	}

Before this commit you either have to completely overload find and rewrite it in the AppModel or call
the before to get the modified `$query` and let cake run the before again.
Deprecate features in SecurityComponent

These features are available in CakeRequest now. The CakeRequest
version is improved as it raises more appropriate exceptions.
Update docs for SecurityComponent::requireAuth()
Use constants instead of strings.

Using built-in constants where possible is generally a good idea,
making code less error prone.
Use random iv values in rijndael.

Using fixed iv values has a number of known problems like dictionary
attacks against the cipher key. Use a random iv value for all future
encrpyted values. Provide backwards compatibility for values encrypted
with fixed iv's, and silently upgrade values for enhanced security.
Replace loose comparison with casting to boolean.
In any case AuthComponent::user() returns null not empty array when user isn't logged in.
Fix coding standards
Breaking down AuthComponent::startup() into multiple methods for easier management and extension.
Merge pull request #1124 from ADmad/2.4-auth-methods

Breaking down AuthComponent::startup() into multiple methods for easier ...
adjusting the changes and adding some docs
adding Kazakh and correcting some locales
Adding the _findAll method

Now there are no special checks for find('all') and the find can be overloaded like you would
with any other find(*) methods.
Fixed small typo