code refactoring - item_submit

Taking pictures happens in photo_submit.html template now. The logic
happens in its manager photo_submit.js
Added generic functions for taking pic, retaking pic and deleting them