change organisation table so ref is no longer primary key #69
refactor activity parsing #17
log errors on activity level #17

exceptions thrown no longer fail activity parsing
add custom log handler and refactor logging code out
handle socket error when using crawl documents command
more permissive transaction parser #17

catch exceptions for each field of the transaction rather than when
parsing the entire transaction and failing

change default value from resource parameter in parsing functions,
removes much of the if resource=None code

do not fail if no codes are found, transaction_value_currency is now
the expected field instead of of default-currency
make fields nullable for more permissive parser
more relaxed parser #17

allow partial parsing budgets and policy-makers if codelists fail

add default currency, change transaction.value_currency to value in xml
file

catch Decimal InvalidOperation exceptions and log them

allow none values for more fields
Merge branch 'master' of github.com:okfn/iati-datastore
move as_dict methods back to json parser

remove special characters from field names in json output
fix relaxed parsing of heirarchy, related-activities, from_codelist

return None instead of attempting to lookup empty string in codelist
fix exception handling in logging

missing _id on the end of dataset
results->iati-activities and transactions->transaction in json output
more relaxed parser #17

allow policy-code to be nullable. Relax the parser for policy-marker,
hierarchy, sector-percentages, recipient-region, recipient-country.
Exceptions now handled/logged lower down in the parser so that an
activity will not fail to parse if any of the above fail to parse, or in
many-to-one_activity, only fail the element that failed, not the entire
list.

Bad codes in codelists now handled in from_codelist instead of
being thrown from from_codelists

Logging code needs to be refactored to be cleaner.