Added "library-mode" / CHPL_LIBMODE for compiling Chapel into (shared) libraries.

 * Split runtime initialization into chpl_rt_init / chpl_rt_finalize.
 * Added functions:
    - chpl_library_init / chpl_library_finalize used by libraries to
      initialize / finalize runtime.
    - chpl_executable_init / chpl_executable_finalize used by executables
      to initialize/finalize runtime.
 * Makefile check for CHPL_LIBMODE=shared, adding "-fPIC" flag for runtime.

Most of the code that was previously runtime/src/main.c is now in
runtime/src/chpl-init.c, primarily most of what used to be
"main(...)" is now "chpl_rt_init(...)".

Most of what used to "chpl_main" is now in "chpl_std_module_init", also
"chpl_main" is no more, instead "chpl_executable_init" is used by
"main(...)".
Fixed return-type of chpl_library_init.
Fixed missing prototype for 'chpl_std_module_init'.
Removed the "functionally empty" file "chpl-main.h".
Contents of "chpl-main.h" is now in "chpl-init.h".
Update dygraphs version from 1.0.1 to 1.1.0

New Dygraphs has a bunch of improvements we want. The most important is
non-blurry rendering for retina displays (I didn't even notice it was blurry
until seeing the new version) and cleaner dates on the x-axis.

Dygraphs release highlights (from dygraphs site):
 - dygraphs is now "retina" compatible.
 - Dramatically improved performance for filled charts (i.e. fillGraph)
 - More sensible date ticks: "Jan 08"→"Jan 2008", "29Jan"→"29 Jan"
 - Using a non-existent option now throws (w/ dygraph-combined-dev.js)
 - x-axis log scales
 - The labelsUTC option forces UTC formatting for all labels.
 - The new DataHandler system allows for more flexibility in data loading.
 - this is set to the dygraph in all callbacks.
 - dygraphs has shrunk, because we moved some stuff into "extras" (133kb→122kb)
Merge pull request #945 from safl/libmode

Added "library-mode" / CHPL_LIBMODE for compiling Chapel into (shared) libraries.
Merge pull request #963 from ronawho/update-dygraphs-version

Update dygraphs version from 1.0.1 to 1.1.0

New Dygraphs has a bunch of improvements we want. The most important is
non-blurry rendering for retina displays (I didn't even notice it was blurry
until seeing the new version) and cleaner dates on the x-axis.

Dygraphs release highlights (from dygraphs site):
 - dygraphs is now "retina" compatible.
 - Dramatically improved performance for filled charts (i.e. fillGraph)
 - More sensible date ticks: "Jan 08"→"Jan 2008", "29Jan"→"29 Jan"
 - Using a non-existent option now throws (w/ dygraph-combined-dev.js)
 - x-axis log scales
 - The labelsUTC option forces UTC formatting for all labels.
 - The new DataHandler system allows for more flexibility in data loading.
 - this is set to the dygraph in all callbacks.
 - dygraphs has shrunk, because we moved some stuff into "extras" (133kb→122kb)