[crt] Break NLX code into separate file.
Merge pull request #780 from waywardmonkeys/c-primitives-nlx

[crt] Break NLX code into separate file.