When creating index hashes, pass the tokens too
Refactor class_indexes & defined_type_indexes to remove code duplication
Pull the logic to find class & defined type definition params into the index hash
Use the new :tokens and :param_tokens helpers in the checks
Pull the logic to find resource types and params into the index hashes
Use the new :type and :param_tokens helpers in the checks
Merge branch 'master' into refactor_data

Conflicts:
	lib/puppet-lint/plugins/check_classes.rb
Merge pull request #244 from rodjek/refactor_data

DRY up the checks