'const' fix and support for specifying retina devices for subliminal-test

This replaces previous pull request ( https://github.com/inkling/Subliminal/pull/43 )