Regex query fix and meaningful error messages

2 fixes:
1. Regex query field name change from pattern to regex
2. https://github.com/lightblue-platform/lightblue-client/issues/22 (submitted by @jblashka )
3. Various update functionality fixes