wip: extracting, porting and refactoring

- extracing from (strong-age) gom branch t-gallery into a gem on its onw.
- porting to ruby 1.9
- refactoring to remove active support dependency