add gitignore (of *.pyc)
Re-join some lines

After over-zealous following of PEP8
Refactor lookup_act()

So we have code we can reuse for upcoming export functionality.
don't hardwire python2.6
Add line so format_address() can use address as dictionary
Fix docopt error

And check output formats in run()
Fix format_address()

Turns out the rows don't play well with str.format()
set exit code nicely
Add option to export database
fix bug with export
Add sort option to export action

Can sort by either name or address
Add CSV as an output format for export
Add export option to write to file
Rejig command line options around export
Add import action

Can import from stdin or file, and from multiple formats.

An option means you can delete and completely replace the database.  So you can
now export the database, make many edits, delete ones you don't want and then
re-import it.
Split -h argument out from other commands

in doc string for docopt.  The --help flag is not compatible with other
options, so give it its own line.
Fix bug when importing abook for instances with no name
Use io.open to open files as utf-8

So we then pass unicode strings to the sqlite3 function
If replacing the database, just delete the file and recreate
Merge pull request #15 from foobacca/import_export

Add import and export actions