Test: use local configuration file

This makes tests more predictable and independent of environment.

Change-Id: Iad8d0cf177cd539caec373b726ab54c026187a87
Unify DNSManager.add interface

- add empty default to interface;
- use None as default instead of unsafe {}.

Change-Id: Ia45bd90aac158e3ad8850c705f90326eb7e31cdd
models: drop nametype_index

There may exist several 'A' or 'NS' records or records of other type
with same name and even in the same zone.

Change-Id: I3f7f4736ceb6cdb0a7a0241e99db45f3c57da7d8
auth: Fix admin role detection

'Admin' name  may be present in any case.

Change-Id: I32f3c7992449aabce8fc8ff302a56f16079f9982
Introducing InstanceManager

Our intention is to separate listening logic (e.g. which envents
and how should be reacted upon) from record and zone management
logic, which is rather complicated, involves some policies,
and might be usefull to components other then listener.

In this commit we:
- added abstract class InstanceManager, with very small and
  basic interface;
- moved, with minimal refactoring, all record- and zone-related
  logic to the first implementation of InstanceManager interface
  (just copy, paste, and minimal refactoring to make things
  work -- more improvements to come);
- added option 'dns_instance_manager', which names DNS Instance
  Manager class Listener should use.

Change-Id: I07b9990050404de1a22c8ed522067f85ed2a8e44
Improved exception handling

- never do 'except:' -- catch Exception or more specific type;
- log exceptions where appropriate.

Change-Id: Icdaf973dc957a41780a7994a59a7ceea1362872f
Introduce exception classes

Raise special exception from manager, so that clients could handle
them correctly.

Change-Id: I1cd68554338f9c39942190f450eaf6986352aaa0
Fix creation of NS record for Altai zones

Change-Id: Ic7657795d723d30db3922759f07a06c3b3fcd2df
Improve instance deletion

- delete records for all fixed ips of instance;
- delete PTR record from revers zone even if A record
  was already deleted;
- delete A record even if PTR record from revers zone
  was already deleted.

Issue: altai-129
Change-Id: If9dc4f2f68aac6a40e1f8b8b544f3670c0bd0bba
Add dns_zone_address option

If this option is set to something other then '' or 'none', 'A' or
'PTR' record will be added to main zone with it's contents on zone
creation.

Issue: altai-94
Change-Id: Id8a1fc16b18e3ccd1a5d2285b154345fc1a7b989
Simple instance manager: don't add duplicated records for instances

Change-Id: Ib771c6152b22c926d167c5d1056c19fa43b3488a
Added 'sync' API call and method stub to InstanceManager

This API will be used to sync DNS database with current state
of nova instances. Client can sync all zone or one particular zone.

The logic of synchronization should be implemented in InstanceManager,
and is left for farther changes.

Change-Id: If2d7e74c979b6b155f165aae742f00764cddc818
Add utility to sync DNS database with actual state

Utility makes call to corresponding nova-dns api method.

Issue: altai-127
Change-Id: Ife1b74dbbd400eb5a4f81795d6cd3b38073ee4f9
Initial implementation of synchronization zones with nova

Change-Id: Ida56689a96e51c1dd5109abc7562e166d9217a65
Version bump

Changes are so great that we increase second digit.

Change-Id: Ic581da3e625a52a625ff71d3901783712e1b6b6b