BHV-12191: Fix bodyArgsFromParams to work with a null params

The params on bodyArgsFromParams can be a null.

In 2.5.0, mixin is used to clone the params. When params is null, it returns empty object.
In 2.5.1, clone is used but it is bypassing null.

DCO-1.1-Signed-Off-By: Kunmyon Choi kunmyon.choi@lge.com
Change coding style, null check first

DCO-1.1-Signed-Off-By: Kunmyon Choi kunmyon.choi@lge.com
Merge pull request #814 from enyojs/BHV-12191-kunmyonchoi

BHV-12191: Fix bodyArgsFromParams to work with a null params

Looks good!

Reviewed-by: Aaron Tam (aaron.tam@lge.com)