Update book_rest.js

the code at line 111 causes the BASE_URL to persist even if different models (with different base urls) use the same sync adapter, so i added code in the sync method to override BASE_URL with the adapter's config.base_url.