Allow optional variadic record fields.
Update record primitives for accessing variadic records.
Update record lib to support variadic records (INCOMPLETE)
Update referenceType lib to support variadic records (INCOMPLETE)
Add recordVariadicField prim-op.
Add variadic record field test.
Update record primitives to support var fields.
Update debug info for var record fields.
Update RecordType struct layout
Merge pull request #446 from agemogolk/record_variadic

Support variadic fields in Records
Fix newtype init/recursion/segfault bug
Couple of bug fixes & tidy
declare overloadable initGLFunctions with define
Merge pull request #449 from alfredr/master

declare initGLFunctions with "define" (this fixes issue #448)
Extract  parser.hpp from clay.hpp. Multi-line input for repl

capitalize addTokensCallback
repl prelude override
refactor parseInteractive
print alone expressions
add 2 repl commands: modules, globals

```
clay>var x = 5; var y = 7;
clay>:globals
x : Int32 : 5
y : Int32 : 7
clay>x = x + y;

clay>:globals
x : Int32 : 12
y : Int32 : 7
```
:overloads command lists created function overloads
```
clay>1
1
clay>"x"
x
clay>5.0
5
clay>"y"
y
clay>:overloads println
        Static["y"] :
        Int32 :
        Static["x"] :
        Float64 :
```
Merge pull request #444 from galchinsky/replStreamParsing

Extract  parser.hpp from clay.hpp. Multi-line input for repl
Regenerate lib-clay files for FreeBSD

FreeBSD 9.0-STABLE, llvm-3.1 is used.
Fix thread tests on FreeBSD

-lpthread flag is needed on FreeBSD as well as on Linux.
Compiler: fix a bug creating some valgrind warnings about invalid reads
Add some missing imports
Merge pull request #452 from Blei/fixes

Two small fixes