Minor fixes and cleanups to API Makefile.am
Minor fixes and cleanups to API Makefile.am

Don't use AM_FLAGS, use -hook instead of -local target, use
more standardized dir variables and don't do any of the
groupadd, and mkdir, chown, chmod in the database dir (as
this is already being done each time pkcs11_startup is called)

Signed-off-by: Klaus Heinrich Kiwi <ca1c68a7cdd1dfa8eb491b0b281f5dc40fe5e135@linux.vnet.ibm.com>

joylatten/opencryptoki,shpedoikal/opencryptoki,shpedoikal/opencryptoki,shpedoikal/opencryptoki,fingunter/OpenCryptoki,joylatten/opencryptoki,joylatten/opencryptoki,fingunter/OpenCryptoki,shpedoikal/opencryptoki,joylatten/opencryptoki,fingunter/OpenCryptoki,joylatten/opencryptoki,fingunter/OpenCryptoki