added replaceByExample() and updateByExample() methods

added optional "limit" parameter for removeByExample() method