implemented a caching config reader 

based on issue 3469

http://dev.kohanaframework.org/issues/3469