Add fixes for parsing of inplace vectors with newlines

from jespada
Merge branch 'ChaiScript_5_0_CPP_11' of https://github.com/ChaiScript/ChaiScript into ChaiScript_5_0_CPP_11
Fix up the pthread usage on broken ubuntu gcc4.8.1

For more information:

http://stackoverflow.com/questions/19463602/compiling-multithread-code-with-g