Clean up bitcode generation, including 3.4 fixes
Make OSL work with LLVM 3.4
Merge pull request #320 from lgritz/lg-llvm34

Support for LLVM 3.4