Remove 'using namespace llvm;' from Internals.h and deal with the fallout.  This
is a step towards gcc-4.8 support. Note that changing dyn_cast to llvm::dyn_cast
is needed when compiling against gcc-4.8 since it has its own dyn_cast. Patch by
Peter Collingbourne.