Adding first cut of curl support, have to fix a problem in qio_channel_revert_unlocked
Merge branch 'master' into curl
Changes through Tuesday mid-day.
Fixing qio_channel_revert_unlocked_error. Funnily enough, the error was being caused by bad error handling in curl_preadv
changing so that clang likes it
making tiny changes
Merge branch 'master' of github.com:chapel-lang/chapel into REG-TRI
Wednesday updates.
Merge branch 'master' into curl
Removing extranious inlcudes in curl plugin files
Removing superfluous includes in curl plugin files
Merge branch 'curl' of https://github.com/tzakian/chapel into curl
Renaming macro, and getting rid of two already defined macros. Fixed possible invalid
free if we failed to connect to curl. Cleaned up code in general and got rid of extra
buf writer that we didn't need.
Merge branch 'master' into curl
Today's changes.
Fixing getlength in the curl plugin and change seek so that both of them work together
in qio_file_open_usr when we cannot get the length of the URL. Had to change a few
things. But, now we get good error messages when we should!
Merge branch 'master' into curl
Adding my changes to the minimalModules test. With default initialization,
these tests would not work otherwise.
This adds the compiler generation of the defaultOf for externs, and removes
the previous handling of externs from functionResolution.
Adds compiler functionality for a module-defined _defaultOf function for each
type.

Summary of changes:
buildDefaultFunctions - generates the _defaultOf function for record types.
  Inserts accesses to the type's type and param fields such that these can be
  grabbed in function resolution and sent to the correct constructor.  Default
  initializes the remaining fields unless the constructor has a default
  expression in its function header.

callDestructors - In changeRetToArgAndClone, instead of only alterring the first
  use of the old return symbol, alter all the uses to copy the updated value of
  the return parameter into the old return symbol before actions happen to its
  remaining uses.

functionResolution - Replace the varying actions to types depending on flags,
  defaultValues, etc, with calls to the _defaultOf method of that type (which
  should do the varying actions for it).  Except distributions, which require
  a little more functionality to utilize a _defaultOf function.  Distributions
  can't generate a _defaultOf method in the module code because our construction
  via type aliases (new <alias>()) does not work when the alias was not created
  in a straight-forward way, and buildDefaultFunctions can't generate a
  _defaultOf method because it doesn't have enough type information to insert
  the proper calls.