revise, optimize and fix bugs

+change buildings id to int
+do not redirect after error in saving
+use js to write scripts not php
+change plural to singular like buildings, floors, rooms
+change rooms to venue
+remove success pages
+bugfix: can't delete in the view page of VG