Added old ckeditor widget for backward compatibility

- merged functions.js into nii.js
- Fixed bug with NTimestampable where created_at field not completed on
insert