Merge pull request #551 from mmp/constfold

Improvements to constant folding.
Merge branch 'master' into arm
Remove support for building with LLVM 3.1
Remove support for using SVML for math lib routines.

This path was poorly maintained and wasn't actually available on most
targets.
Documentation updates for NEON