Add interval options to dbunloader.py

- Add interval options to dbunloader.py so that it can do more than only
  send the latest records.
Add blah test for multiple FQANS in blah log

- Add unit test for multiple FQANS in blah log as the parser should be
  using the first FQAN rather than the last one (which is currently
  happening).
Change blah parser to use first FQAN in log line

- Add logic blah parser when the split line is stored in a dictionary to
  only store values that do not already have a key in the dictionary. This
  is so that only the first userFQAN is stored as this is the primary FQAN
  that should be used in accounting (rather than before where the last one
  was used, which led to VORole usually being NULL for multiple FQANs).
Add tests for VO components to blah test

- Add tests for VO components to blah test to check that they are
  extracted correctly.
- Remove temporary code that was already commented out.
Add default value for 'interval' in dbunloader

- Add default value for 'interval' in dbunloader as it is a new option so
  it may not be in the config file.
Merge pull request #46 from apel/iss29-multi_fqan_handling

Multiple FQAN handling improvement
Merge pull request #45 from apel/iss26-unloader_months

Add interval options to dbunloader.py
Update version numbers and changelog for beta 1
Update version numbers and changelog for release

- Update version required for APEL-based dependencies.
Merge branch 'release-1.3.1' into dev
Improve code heath of worst offenders

- Change triple quoted comments to plain comments.
- Change string formatting to argument in the logging commands.
- Comment out unused import.
- Rename variable that clashes with built-in.
- Tidy some white space.
Correct arguments to logging functions

- Unpack tuples when passed to logging functions as they should just be a
  series of arguments.
Improve code health of medium offenders

- Change string formatting to argument in the logging commands.
- Remove unused imports.
- Tidy some white space.
- Change 'not x is y' tests to 'x is not y'.
Improve code health

- Change string formatting to arguments in logging commands as this is how
  they should be called.
- Tidy some whitespace.
- Sort out some ambiguous indentation.
- Remove unused import.
- Compact some lone lines.
- Correct 'not x in y' to 'x not in y'.
Change comparisons to None to 'if cond is None:'