Miscellaneous spelling corrections.

fixes #4625
Move some cases to separate test
Use built-in exception matcher
Refactor uri(), refs #4630

Uses preg_replace_callback to process each group and key at one level
exactly once. Recursively processes groups depth-first to detect
specified parameters before deciding to include the group in the result.
Set the request context on caught HTTP_Exceptions

When HTTP_Exceptions are caught inside of the Internal Request Client,
the current request will be set inside of the Exception using the
HTTP_Exception::request() method.

This fixes #4635
Wrong param order in chmod command
Updated chmod commands to '-R a+rwx'
try to clean up coding standards a bit
Merge pull request #315 from kohana/3.3/feature/4630-uri-optional-params

Build URI using preg_replace_callback
refs #4630
Recursively match braces for route groups, fixes #4630
Remove extra tests. Follow-up to e19c5febcc60b355283b171173c122363a06c1cb
Remove superfluous regex assertion, refs #4630

Braces are matched by the group regex
Fixing #4641: Curl PUT request does not post request body
Merge pull request #334 from acidtv/3.3/develop

Fixing #4641: Curl PUT request does not post request body
update docblocks (refs #4700)
Merge remote-tracking branch 'patch/patch-1' into 3.3/develop (refs #4703)
Merge pull request #323 from dm/3.3/develop

Fix Valid::range bug excluding min/max values (refs #4672)
Merge pull request #314 from marklocker/3.2/develop

Miscellaneous spelling corrections. (refs #4625)
Merge remote-tracking branch 'origin/3.2/develop' into 3.3/develop (refs #4625)

Conflicts:
	classes/Kohana/Request/Client/Curl.php
	classes/Kohana/Route.php
	classes/kohana/http/cache.php
Change Curl class to use custom request for post requests only as put requests must be set with CURLOPT_INFILE and CURLOPT_INFILESIZE.

refs #4605