use splitlines instead of split('\r\n'), so that line endings work across platforms
Changed get_txt_data_metadata to set as data any line beginning with a number.

It identifies every lines starting with a number as data and the rest
as metadata. Examples of valid numbers
	123
	123.321
	12.23e5
	-123
	.23
	+123
Test for get_txt_data_metadata pass.
parse_metadata improved to handle quoted fields.

    parse_metadata(meta_lines):
    Function that returns a dictionary of the metadata
    from the meta_lines as a list of strings.

    Quotes are handled correctly.
    Valid examples:
      - key = value
      - key value
      - "long key" = "long value"
      - "long key" "long value"
Switched to OrderedDict when parsing metadata lines.

Not 100% sure this is needed, but it feels right. The downside is that python 2.7 or >3.0 is needed (but that should not be a big problem).
Added test for test_parse_metadata_empty_lines.
Aviv importer working on windows as well.

Improved exception message in parse data. Removed get_txt_data_metadata, since the base method works fine.
Test for aviv importer pass.

I don't like the dataset.units_x. Should probably be dataset.unit_x
Removed test_text_functions since the tests were superseded.
Importer now accepts either a file or a file descriptor (an IO object).
Basic MosImporter now works.

The multiline asci fomrat still needs to be parsed...
Ignore spyder project files in .gitignore
stub for multiascii test in MosImporter
Implementing multiple datasets for importer.

This is needed for the Mos/biokine multiY ascii files.
The firts passes check_first_multiline_dataset.
Mos Importer working also for multiY ascii files.

The importer now has a datasets property, which is an array to all the datasets that were loaded. The array always contains at least one element.
minor cleanup of unused import in test_importer.py
more accurate names of variables.

data_lines and metadata_lines instead of data_txt and metadata_txt.
Implemented basic CSV importer.

Only data is parsed, no handling of metadata.
Added name property to dataset.

Good for identifying various datasets and for ploting legends. But what name to keep when adding two spectra?