Expose parseHash as a static method

This is sometimes useful to be able to do without requiring an instance
of L.Hash.