FileManager: add create new directory action

* misc cleanup
* apache license so we can re-use it in aosp

Change-Id: I9aa85bf6a244438d736064a159ae975a1b1594e5