Mirage v1

Fix build with current mirage and add travis hooks for tests