Implement callback registry and L.Util.Bind. Closes #4. Closes #2.