now saving the options to the default when you save a template, just like we do when creating a document. Also changed the name of 'data' in the save template function so that input and output aren't so easily confused.
Fixed issues with upgrading from 4.0 to 4.1 since we are now using objects instead of arrays for options. Now getting template options through kalins_pdf_get_options() function so we only need to change one function if options change again in the future.
Merge branch 'master' into tagsAndCatsFilters