jx.CardToGrid: add function columnToField to convert field to column.
[jaring] Jaring-all.js: various enhancement.

* CardGridForm: add _parent properties to form object.
* Form: check and call function beforeFormSave in parent component.
* CrudButtons: destroy buttons.
[jaring] System.Media.Table: new module to view media used by module.
Ignore media directory.
System.Media: handle update.
[jaring] jx.Form: add event savesuccess, savefail, and canceled.
[jaring] jx.CardGridForm: hide form using afterFormSave.
[jaring] lib: add function to prepare fields for query.

* add function to get last inserted row from table.
* add vim fold marker.
* escape media directory with directory separator.
[jaring] System.Media.Table: use two column, table reference id and media id.

* Viewer: add form to add and remove image.
* Viewer: add request for create.
* System.Media: fix media directory path.
[jaring] lib: fix typo and remove error log.
[jaring] System.Media.Table: handle request delete.
[jaring] System.Media.Table.Viewer: set title and auto-scroll.
[jaring] update Jaring-all.js.

* jx.GridPaging: fix call to selection change handler.
* jx.plugins.CrudButtons: fix button disable/enable on edit and delete.
[jaring] System.Media.Table: delete file on request delete.
[jaring] jx.plugins.CopyButton: button to copy row data.
[jaring] jx.plugins.SearchField: fix alias.