Fixed bug when parsing namespaced typehint args
Added support for PHPDoc array params.

The following is now supported by moodlecheck:
/**
 * @param stdClass[] $objectarray An array of stdClass objects.
 */
function some_func(array $objectarray) {}

An example of this is shown at
    http://www.phpdoc.org/docs/latest/for-users/phpdoc/tags/param.html

Conflicts:
	rules/phpdocs_basic.php
Merge pull request #15 from samhemelryk/wip-combined

Combined support for type hinted array and type hinted namespace args