A few formatting and doc fixes
Fix some regex issues with fabric

- Fix where it was matching all parts of the string up to the requested
URN
- Allow . and - as part of the URN to match
Allow Fabric to work with node as well as in the browser

Add Fabric to exports if available, otherwise add to the window/self
global