[FIX] linting warnings in export
[IMP] option to only export selected records
[IMP] code cleanup, better use of jquery
[IMP] export view: use events hash
[IMP] allow export of selected records only
[FIX] triggering of dataset_changed events to correctly happen *after* the operation

also added it to DataSet#create calls where it seems to be missing