solved ticket https://issues.jboss.org/browse/RAILO-3001
added support for calling as BIF and test case
Merge pull request #395 from igal-getrailo/jira-3001

solved ticket https://issues.jboss.org/browse/RAILO-3001