Minor fixes and a new function to parse colors from C strings.

- Added Color::parseCStr() function to parse colors from C strings.
- Removed unnecessary checks in sprite class drawing method.
- Fixed incorrect usage of strtof instead of strtod, which caused
compilation errors on MSVC2010.