pull request for drm fulfillment issue

1. improve and test download db class;
2. change the slot methods for drm fulfillment.