Allow for resources to queried without type_

This will allow the user to query puppetdb for resrouces that do not
match a defined type.
Add Relationship to Resource

This commit allows to filter a Catalog for a specific Resource by
type and title and returns a Resource containing all linked Resources.

Here is a quick example:

    >>> catalog = db.catalog('hostname')
    >>> resource = catalog.get_resource('Service','ntp')
    >>> for rel in resource.relationships:
    >>>     print(rel)
    Class[Ntp] - contains - Service[ntp]
    File[/etc/ntp.conf] - notifies - Service[ntp]
    File[/etc/ntp.conf] - required-by - Service[ntp]
new node['status'] - 'noop' (api v3)

set node['status'] to noop when noops are present in event-counts of latest
report
Fixes failing resource queries for types including a double colon ('::')
Merge pull request #29 from seantis/master

Fixes failing resource queries for types including a double colon ('::')
setup.py (pep8): space after #
Merge pull request #26 from juliushaertl/resource-relationship

Add relationship to resource and filter method for catalogs
Merge pull request #24 from daniellawrence/typeless_query

Allow for resources to queried without type_
Merge pull request #28 from tilya/node_noop_state

new node['status'] - 'noop' (api v3)