mod_base: remove extra </div> from phone/_navbar

(cherry picked from commit da11cffa6617482db221295bbdffa8b4b72a7899)
mod_admin: remove api dispatch rule, also defined in mod_base.

(cherry picked from commit 3e28b0d21cefae43a418ec23ad5f84812813523b)
mod_base: for catinclude, don't assign passed categories to 'id'. Only assign a resource id to id.

Also add the {cat, File, [cat|...]} as an extra template option. This selects a template based on the given categories.

(cherry picked from commit 13fe78815cd11b166ff8e140cd0c4e0e1c6bae52)
mod_menu: remove console.log message.

(cherry picked from commit dcbd3cda0dd275ddfa3a2a194da4c5735ecddc69)
core: allow a non-integer category id to be passed to all_flat/2

(cherry picked from commit 180312856a3063727a6c469b72085ae6fef18879)