Add submodule serverside api

#30 

Add server side api for submodule.


p.s. Any suggestions for the UI?  I was thinking something similar to remotes...
There's an Array.isArray() you can use, no need to do the old hacks any more ;) (Ungit doesn't support old browsers anyway)