Moved libemulation to a submodule

First step in splitting the repositories into a main libemulation repository, and client repositories.