moved to ruby 2 and rails 4
changed col type of basicdata.value to text for long text, fixed issue with resuming syncing (wrong query constructed)
fixed a minor issue when loading resources for the first time