findById fields options parameters

very simple refactor that adds fields and option parameters to the lib/client. lib/server now uses criteria string to kick off the JSON encoded parameters workflow