Implemented locking status for formats using LockDir.
* Add is_transport_locked() to class LockableFiles and make it
available through classes WorkingTree, Branch and Repository.
* Complete the test case for all permutations of locking.
* Re-enabled the read locks inside the info command.