Remove explicit __class__ indirection; self.attr is the same thing.
No need for list comprehension; shorter equivalent code.
Don't modify data while iterating, esp for Python 3 compat.
Fix issue with missing parent_id and setting default parent id to null

Summary:
Missing parent_id attribute was causing tests to fail.
Resetting default parent id to None was also causing it to fail

Test Plan: run tests, profit
ABSOLUTE_OCPM changed to  upper case as required by our api

Summary: BidType constant was lower-case and that impeded to create a local awareness adset on an example i'm creating

Test Plan:
execute the local_awareness.py file putting your adaccount in the 'env' variable. it should fail. apply this patch and it should work.

content of the script: https://phabricator.fb.com/P18123548
Added autocomplete endpoint

Summary: Allow users to access the autocomplete endpoint using the SDK.

Test Plan:
You can do this in the REPL
```
ac = AutoComplete(parent_id='act_11124366')
print ac.remote_read({
    'q': 'United States',
    'type': AutoComplete.Type.adcountry,
})
```
params['fields'] not defined properly when fields parameter not provided

Summary:
Refactored some fields handling code and introduced a bug that would sometimes
result in params['fields'] to be completely undefined.

Test Plan: run tests
Encode unicode string before hashing, esp for Python 3 compat.
Merge pull request #15 from agriffis/self-class

Remove explicit __class__ indirection; self.attr is the same thing.
Merge pull request #16 from agriffis/simpler

No need for list comprehension; shorter equivalent code.
Fix autocomplete endpoint

Summary: Autocomplete endpoint doesn't use act_

Test Plan: Build object and run, should return better results.
Cleaned up failing tests

Summary:
Cleaned up failing tests and cleaned up some of the way we handle
parameters when we instantiate a new object

Test Plan:
Run tests
poke around in repl
Merge pull request #20 from agriffis/py3

Fixes for Python 3 compatibility.
Avoid dict comprehension syntax for Python 2.6 compatibility.