Minor refactor and extra tests
Return a formatter from getResourcesAsUri instead of the array, allows for default formatter
Merge pull request #11 from alecsammon/formatter_refactor

Formatter refactor