Add the api_application to the package.xml

Not really sure whether that's necessary...
Pass the API in to the MainWindow
More forward declarations in mainwindow.hpp
Remove the explicit api_application link library

The correct library path here is included in the ${CATKIN_LIBRARIES}.
The manual -lapi_application leads to errors when using cmake directly.