Fix build with LLVM 3.5

Method codegenModule() used a FunctionPassManager instead of a PassManager. This results in an assertion failure.
Also initialize one more pass.
Merge branch 'release-0.13.0'
More ARM fixes