Refactor export service

Changed the data type from short to int to increase the number of rows in excel export.
Merge pull request #450 from Northbay/master

Fix excel export (max. 32,000 rows issue)