Fix compilation errors when releasing.

- Right now, for releasing and deploying we are using:
  $ mvn clean install assembly:single deploy -P release
  with this patch we can just run the normal way:
  $ mvn clean deploy -P release
- We avoid double compilation of the widgetset, one
  in install phase and another in deploy, causing sometimes
  compilation problems
- As a bonus, we only run pdf split when using the release profile
  and we only run it once.

Change-Id: I0dbdbad40df1dcf04e7ca162ec8cab8824e89801