js: destroy dialog when element is destroyed
js: refactoring dialog widget
js: add edit route to all controllers
js: add member method for resource on routes
app: use gem for return knockoutjs
app: fix errors on bom creation
Merge remote branch 'upstream/estimate' into estimate
app: add button for viewing resources on project page