Switch out underscore for lodash

This replacement was done using only the lodash modules that ampersand-state depends on.
This resulted in saving 114 kilobytes when using browserify when compared to using the fully-packed lodash module.