A big patch

1. add ExtendedProperty support to addItems/updateItems/listItems.
2. enhance query, now can make arbitary query.
3. conform to pep8
4. bugfix