Move theme namespace registration to themes package, simplify view resolution
Fixes #6 (page type view switching)