Fix running in a non root path

fix #4

also see zfcampus/zf-apigility-admin#12