"or" and "and" methods in promisses

- "or" "and"  methods make gQuery promises much more declarative, and handles a useful case not considered in jQuery. 
- Fixing then method which was not breaking the flow like jquery does.