add ico save support
add tests and docs
More tests for ico save
Merge pull request #1007 from wiredfool/ico_save

Ico save, additional tests