Fixed bug #26 that added a "JOIN (null)" statement when using NSDates in predicates

- Improved the regex to assure the table name starts with a letter (as forced by Apple's Core Data).
- Check if relationship description exists before adding a new JOIN statement to avoid adding JOIN statements with null table names.