Fixed Issue #648,overwrite query should disappear

overwrite div is removed after user clicks on the overwrite button
Fixed Issue #648,changed the way of deleting parent
Fixed Issue #648,removing the div using d3 selector.
Fixed Issue #648,using local variable
distinguish file *replace* for file upload too

not just for assets
Merge branch 'pr/783' into develop

Conflicts:
	htdocs/js/rcloud_bundle.min.js