move upload code for assets to AssetsView
STUD-1523
Merge pull request #3306 from edx/zub/bugfix/std1523-uploadassetbutton

move upload asset code for assets to AssetsView