Add updateMethod configuration and expose config options as provider

Added an updateMethod configuration option to fix #50.  Also change to creating the resource factory as a provider so it can be injected into the app config and the defaults configure application-wide.