Add AMD (RequireJS) Support

This update makes stringformat compatible with RequireJS in addition to the Node and regular browser support already provided.