Allow includes/templates to be in same dir

 * added "CS_INCLUDE_BASE_DIR" and "CS_TEMPLATE_BASE_DIR" for absolute
location of templates & includes.
 * added cs_global class for static versions of cs_globalFunctions