Fixed attach sub item array argument check.
Added attachSubMenu method to readme.