Enabling getExtension and getSupportedExtensions.
Merge pull request #48 from Rezmason/getExtension

Enabling getExtension and getSupportedExtensions.