Fix the problem that parsing a date string fails for environments with non English locales.
Adds InstanceResource.getDateProperty() method and modifies to use it on returning date properties.
Modifies some tests fails.
Remove unnecessary imports.
Replace spaces with tabs for files which use tabs for indentation.
Merge pull request #164 from takuji/fix_date_parsing_errors

Fix the problem that parsing a date string fails