[client] Add "HatoholResourceView" which is a base object of each views

View related functions in library.js are moved to hatohol_resource_view.js
[client] Remove a needless script element