Implement static RawIOHandler::canRead()
capabilities() should not return CanRead for unsupported formats
Define format when canRead() returns true
Merge pull request #2 from agateau/fix-format-handling

Fix format handling