fixed filtering and exlude resource bug
updated image upload script for update of documents
also the view for serving image
Merge branch 'rest-rssi'
with master after solving exluding and filtering fix