Fixed extension generation task
Client build script no longer assumes assets are images

Added a gitignore to node-datasource/public to ignore files/folders
placed there from extension asset folders

Also added a little snippet to the beginning of the main xcore script so
that it would use the correct mode in emacs and vim.
Removed some old debug code
Added additional documentation to source methods