Split lttngstudio library in small parts

Make core library a subproject, and link smaller internal libraries to it.

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>