adding apidoc task, configuring yuidoc theme dir, including package.json content in pkg option for grunt