Refactor logging in OpenPush library.
Move hack applicationId placeholder to samples.