move elemfunction to RestangularService

Also move internal function: parseResponse & resolvePromise
finish moving all to Service. Creates public adapter