Fixed bugs that led to errors in N-export (return_flow not initialized to zero and order of extraction of surface N in patch_daily_F
- Fixed lairead makefile, which needed to be updated when lairead was moved
  in the source tree
- Updated cf makefile to include an 'objects' target for use by lairead
  makefile
Merge branch 'develop' of https://github.com/RHESSys/RHESSys into develop
- Fixed bug in template where $basinDefs was being used instead of
  $hillslopeDefs
Fixed typo where surface_NO3 was used instead of surface_NH4
Fixed bug
Merge branch 'develop' of https://github.com/RHESSys/RHESSys into develop
Additional fixes in order of operations for N routing and fixes to dynamic phenology code
- Updated template template
Merge branch 'develop' of https://github.com/RHESSys/RHESSys into develop
Fixed bug where soils and landuse rasters were specified with function dvalue
instead of mode
- Macacque.h: increased MAXFILENAME from 80 to 1024, and MAXCOMMAND to
  (2 * MAXFILENAME) + 256; this makes it easier to call g2w from other
  programs/servers where absolute paths to the template and worldfile
  arguments need to be supplied
- Main.c: changed some calls of strcpy to strncpy; removed printf of null
  file descriptor 'tmpfile', which was causing a segmentation fault when
  g2w is compiled without optimization (i.e. with debug symbols).
- Changed MAXS (which controls the size of file path buffers) from 80 to 1024
  to facilitate calling CF from other programs/servers that need to pass
  file arguments as absolute paths
- Changed $soils_rast to $soil_rast to allow easier generalization of
  RHESSysWorkflows code
- sys.c: Added TODO for fixing bug in how leap years are calculated
- Updated g2w and rat to return EXIT_SUCCESS and EXIT_FAILURE instead of 0 or 1
- Updated main function in g2w to explicitly return EXIT_SUCCESS at the end
  of the function; this allows programs calling g2w to more reliably determine
  whether g2w failed or succeeded.
- Updated makefiles for g2w and rat to use -g (debug symbols) CFLAGS instead
  of -O (optimization); this makes it far easier to understand where crashes
  are occurring (e.g. line numbers are included in console crash reports, and
  the source exactly corresponds to the binary, which is not always the case
  when optimizations are turned on).
- Updated cxy and cst makefiles, which broke when these utilities were recently
moved in the source tree.  This required removing inclusion of stdbool.h in
cst.c and cxy.c as it conflicted with the bool typedef in createflowpaths,
which both cxy and cst reference
- Cleaned up lairead makefile
Added template strings for including x and y coordinate maps throughout the
spatial hierarchy
Update xmap and ymap template strings to use aver instead of mode to allow
geographic coordinates to be properly represented.
Added dummy template allometric relationships for base vegetation classes
in ParamDB
- change_world.c: fixed critical bug where ID[5] was being set to
  patchID instead of vegid for calls to find_tlevel, which caused all
  patches to not be found.

- makefile: set -g as default instead of -O to make debugging possible

- main.c: Added 'mask' command line option.  If not supplied, will try
  to use a raster mask named 'mask'

- main.c: enforced proper use of EXIT_FAILURE and EXIT_SUCCESS

- blender.h: changed MAXS from 80 to 1024 to allow lairead to be
  called using absolute paths
Improved error reporting to include fully qualified patch IDs instead of
row and column