Adds entry in .gitignore if it exists to ignore mapcache folder
Added javascript validation of the mapcache job option dialog forms