Pull Request that contemplates Issue #13

These codes doesn't alter methods signature and not messing the existing behavior in the library.
I just check if the user check "Only published contents" and them I verify if the node has publication:currentState with published value.
Ok, could be not sufficiente, but it's a start and all the staging-extension labels are only in english.