added typedef for AbstractIndex
removed AlreadyExistsException from StorageManager
added lots of templates for ResourceManager

* add<>, get<>, exists<>, and assureExists<>
* for types Abstact[Table,Index(,Resource)]