core:core_register_lib: make sure libs are registered in order mentioned...

... in env var.

giving presidence to the order as specified in env variables.
core:image:imageio add `icns` as a supported extension.