Merge library resource loaders (partially finished).
Easier to override finding of libraries.
Refactor handling of nine-patch image resources.
WIP