LIVEOAK-560 Unable to update existing JS content of a script
 - Fixed bug of not being able to update JS content on PUT
 - Removed ability to DELETE script without deleting Resource also
 - Added tests for various scenarios for validating above changes