Add DragonFly BSD support

Port RVM to DragonFly <http://dragonflybsd.org>, a FreeBSD fork.

Dependency installation only supports binary packages via pkgng, neither
building from source nor pkgsrc are implemented.
fix "bad math expression"