Asset type no longer determined by extension. Now custom regex can be used via confing option. Fixes #45 and #49.