Fix running in a non root path

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