Added script text to service object
Added flag on service to hide/show the manage/deploy attributes and button
scriptSourceFile now loads script from couch
clean up of manageHandler