Fixing Railway Hoisting Issue

orm is defined on the var declared two lines below the if block and not on the expected global reference
Unit test for bug fix related to belongsTo relation.
It declares a Schema, uses memory. If it should be run for ALL DBs it will need to be changed.

Should fail pre cba174b and pass currently.
Merge pull request #203 from danshultz/patch-1

Fixing Railway Hoisting Issue
FIxed test for belongsTo
Merge pull request #205 from anatoliychakkaev/master

Fix pull request tests
If property is array (List) need to convert it to JSON
Organize test with Log and Dog
Remove logging
Merge branch 'master' of github1602:1602/jugglingdb
0.2.0-18
Merge branch 'bug-track'

* bug-track:
  0.2.0-18
  Remove logging
  Organize test with Log and Dog
  If property is array (List) need to convert it to JSON
  FIxed test for belongsTo
  Unit test for bug fix related to belongsTo relation. It declares a Schema, uses memory. If it should be run for ALL DBs it will need to be changed.
  Fixing Railway Hoisting Issue