Added TSRLibrary

I added support for loading TSRs from yaml. Also, i fixed a bug with resolving robot name. Checkout the yaml fix in the last commit and if you like it, i think we can pull this into the master or trunk or whatever its called in git.