Update libraries/joomla/table/table.php

JTable:reset() should also reset errors array. If they are not reset JTable::getErrors() will return old errors, from previous record.
Update libraries/joomla/table/table.php

Fixed code style.
Merge pull request #1713 from malkowitch/patch-2

Update libraries/joomla/table/table.php