refactor placeDetails method

- accept parameters, and check for mandatory ones
- make callback mandatory
- unit test
- add mock json objects for placeDetails and placeSearch