BOOKKEEPER-562: Ability to tell if a ledger is closed or not (fpj)



git-svn-id: https://svn.apache.org/repos/asf/zookeeper/bookkeeper/trunk@1479649 13f79535-47bb-0310-9956-ffa450edef68