Refactor and implement ngREST module

Signed-off-by: Jia-He Jou <joujiahe@gmail.com>
Add shorthand for angular methods and change object name to 'RObject'

Signed-off-by: Johnson Jou <johnson@unispace3d.com>
Fix url parse issue.

Signed-off-by: Johnson Jou <johnson@unispace3d.com>
Refactor with rest module.

Signed-off-by: Johnson Jou <johnson@unispace3d.com>