Updated to allow finding image and flavor using integers or strings.

This fixes issue #109.

Fog still needs to be modified to url encode flavor and image ids.