apigen: fix
added build.api.php
build.php: updated for 2.3, added nette/deprecated