fixed mysql date time error and broken organization tests

@mattdrayer fixed mysql date time error for time series api. Error was appearing when start_date has time value also like this 2014-10-23 13:04:39.249508 and fixed broken organization tests.