Consolidate Xonomy.[element|attribute|inline]Menu handlers
Consolidate Xonomy.[element|attribute|inline]Menu handlers

Introduce new function Xonomy.internalMenu(), which is called
from all the three mentioned public methods and performs all
the common stuff.

michmech/xonomy