ported [3510/branches/1.0]:
- handle malformed paths in AgaviArrayPathDefinition by throwing an exception
- update all relevant parts which use AgaviArrayPathDefinition and handle the exception if needed
- adjust tests 
closes #890
ported [3511/branches/1.0]:
fixed typo in 1b7917dc7b12bc04259d04c9ec9790bea0188752, refs #890