check from inverted chunk intervals
fix support for entities changing type (idp->sp)
fix mysql qeury
explicitly check if connection to sql server was succesful
add sp/idp environment and auto-update triggers
fix error handling
make sure errors in mysql setup are handled
fix date handling in chunk.php