Create test for Javascript functions and modified corrections of previous sprint

Create TestJSGetField.java and TestJSGetRow.java
Modified files of previous sprint
Merge pull request #168 from ernestvegap/JSFunctionsAndCorrections

Create test for Javascript functions and modified corrections of previou...
Merge branch 'master' of github.com:herbertsg/processmaker into PMFGetCaseNotes