Fixed paging, added a basic support for Corss Origin resource sharing 

Fixed an issue with paging, to'do: create a component to make paging reusable.
Added a basic header to support Cross Origin resource sharing: waiting for a generic solution (Olivier contribution)