insertView function, implemented case switching on viewallthreads

please use the main pages "feed/borrow/lend/more mainly for forms, but
in other circumstances use insertView($controller, $action) (all
lowercase) to insert Views as modules into the main pages.