Update Disco.core.php

Fixed variable assignment of routeMatch within useRouter function
added method lastId() to access AI value of MySQL
added method destroy() to allow destroying a session