Fixes #3523: Make the UUID generation the first thing to run during rudd...

...er-agent postinstall script

To be merged in 2.5

Ticket: http://www.rudder-project.org/redmine/issues/3523