simple php router that works with uri, query string or both