update build config files
separate Hub into HubConnectionFactory and HubFactory

Created a HubConnectionFactory to make it possible to inject a mock signalR hub connection for tests
add basic signalR and HubFactory tests