SONARJAVA-159 Parser: usage of BasicType should be forbidden in ResourceSpecification

This change also fixes parsing of identifiers - previously not all
keywords were declared ("byte" for example).