Fix incorrect order of view paths for themed plugins

Fix the order of view paths in themed plugins and also optimize View::_paths a bit as it uses fewer array_merge() calls now.

Refs #4064