Reformat WorkPackagesController dependencies array

Attempt to make the array "patch-friendlier".
Move exportModal Factory into separate source file

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Remove server-rendered action menu from wp view

Signed-off-by: Alex Coles <alex@alexbcoles.com>