Change contracts to allow user_id with type long(). Add tests.
Merge pull request #6350 from edx/jeskew/asset_md_contract_fix

Change contracts to allow user_id with type long().