cleanup this file locking library

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550556 13f79535-47bb-0310-9956-ffa450edef68
fix typo

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550557 13f79535-47bb-0310-9956-ffa450edef68
license header

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550558 13f79535-47bb-0310-9956-ffa450edef68
fix osgi metadata

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550559 13f79535-47bb-0310-9956-ffa450edef68
throw a timeout exception if not possible to get the lock after the timeout

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