Change namespaces to prepare switch to ITK 4.6

Compatibility patch, works with ITK 4.5 and 4.6. However, Mips won't compile yet with it