add support for mysqli
fixed some bugs
add app home domain constant
add MPF_C_DB_CONNECTION_TYPE constant for support mysqli

Signed-off-by: TomWu <myphpframe@163.com>