Refactored 'MockResourceProvider' to include default functions.
Refactored 'MockResourceProvider' to include default functions.

By default a 'MockResourceProvider' will connect and subscribe to
an endpoint. Each operation will then be answered as if it was
successful and returning converted resources.

Review: https://reviews.apache.org/r/63986/

andschwa/mesos,andschwa/mesos,reneploetz/mesos,abudnik/mesos,andschwa/mesos,Gilbert88/mesos,andschwa/mesos,gsantovena/mesos,Gilbert88/mesos,jpeach/mesos,chhsia0/mesos,jpeach/mesos,reneploetz/mesos,kaysoky/mesos,gsantovena/mesos,abudnik/mesos,Gilbert88/mesos,Gilbert88/mesos,abudnik/mesos,asamerh4/mesos,andschwa/mesos,Gilbert88/mesos,gsantovena/mesos,chhsia0/mesos,jpeach/mesos,dforsyth/mesos,dforsyth/mesos,reneploetz/mesos,abudnik/mesos,gsantovena/mesos,jpeach/mesos,jpeach/mesos,dforsyth/mesos,Gilbert88/mesos,chhsia0/mesos,kaysoky/mesos,kaysoky/mesos,asamerh4/mesos,Gilbert88/mesos,andschwa/mesos,chhsia0/mesos,abudnik/mesos,kaysoky/mesos,jpeach/mesos,gsantovena/mesos,asamerh4/mesos,reneploetz/mesos,jpeach/mesos,kaysoky/mesos,dforsyth/mesos,asamerh4/mesos,dforsyth/mesos,asamerh4/mesos,chhsia0/mesos,andschwa/mesos,gsantovena/mesos,abudnik/mesos,dforsyth/mesos,kaysoky/mesos,kaysoky/mesos,reneploetz/mesos,chhsia0/mesos,asamerh4/mesos,abudnik/mesos,asamerh4/mesos,dforsyth/mesos,reneploetz/mesos,chhsia0/mesos,reneploetz/mesos,gsantovena/mesos