sync_pgviews

I've modified the codebase to use sync_pgviews per #2.

I've also bumped the version number to 0.0.2.

It would be good if you could merge this and put it on pypi, so we can give it a proper thrashing to go into our production system.

Cheers,

Scott,

P.S. Sorry about all the commits. That's what I get for writing code on a Friday afternoon near Christmas :-)