Lock table/vis option available within table view

- Lock table/vis available within table view.
- Moved all dialog texts to dialog template.
- Added tests.

1) In short, we have discussed that [here](https://cartodb.atlassian.net/browse/CDB-3887) and we prefer to show a warning dialog.
2) I don't get the purpose of that, lockBy should answer who is the owner?