Added index file entry checks to ODIDMediaEngine

Added some additional checks to the index file parsing code to
 handle ill-formed index files more robustly.

Tested with some index file entries with added/missing space
 on first/last entries.