Persistence Fixes

This fixes many things.

:white_check_mark:  Issues Fixed :white_check_mark: 
* ```pathfindingRange``` range being cast to an Integer, when 1) it isn't one in the data and 2) it isn't being assigned to one.
* NPE when doing a ```toArray``` on null ```entitydata```
* Logging of all parameter data classes on deserialization
* Persisting a parameter with ```-1``` as its ```pos```.