Dump bar, Minor changes

* Added locales
Functions, collect

* Fixed collecting data from object methods
Cli class, do_over

* Added referenced $extra and $silent attributes to do over
Template, to_json

* Added static to_json function
Attr model, to_json

* Added method to_json to attr model
User setup, drop

* Dropped unused classes
Database script, json dump and restore

* Added dump and restore functions using JSON