draft for middleware interface

@gerkey @esteve @tfoote @wjwwood fyi the current draft for the middleware interface whitepaper. 

I still have to write the last part describing the actually implemented architecture.