Initial bits on State change logic.(wip)
Merge branch 'next' of github.com:maidsafe/MaidSafe-Vault into next
Added Brian's fix for failing db tests.