Added tracing of namespace loading

This will be used to try and speed up loading.

<!---
@huboard:{"order":95.5,"custom_state":""}
-->