Add scribu/posts-to-posts to composer.json

minimum-stability set to "dev" because posts-to-posts requires scribu/scb-framework as dev-master. Dependency fails to load if parent project is not set to allow development branches.

Repository for posts-to-posts added manually because composer doesn't find it on its own.

Path for posts-to-posts manually set because type "wordpress-plugin" causes it to be installed in a wp-content directory created within this plugin directory.

Fixes #112
Register post relationships. Connect functions to functions.

* Requires posts-to-posts vendor library if not loaded as a plugin.
* Registers post relationships
* Extends import to create relationships between plugins.

To-do:

* Connect functions to methods and hooks: "uses" arrays don't appear to be populating for either of these
* Connect Methods to methods and hooks
* Clear wp_p2p and wp_p2p_meta tables of previously imported relationships before running import. For now, the tables should be manually cleared.

Fixes #112
Move wp_parser_ending_import action to before counting is turned back on and caches are cleared.
Remove minimum-stability and include UI-less p2p

Instead of requiring only dev for all packages only specify it for p2p. Instead of including posts to posts with the UI we only include the core.
Make P2P work while only including p2p core
Remove current relationships if they exist
Fix a bug that prevent functions_to_hooks from working
Fix functions_to_hooks relationships
Implement method calls relationships

- Add a method call reflector to reflect a method call.
- Put the used methods in the exported phpdoc.
- Put the used methods in functions as a functions_to_methods relationship.
Add methods_to_x relationships

- Add methods_to_functions because it should be unique from functions_to_methods.
- Chang references to self and $this to the correct classname
- Put the things a method uses into the database as a p2p relationship
Remove debug cruft
Fix an error with getLocation on the ClassMethod check
Fix an error when parsing method calls on function calls
Enable self connections the methods_to_methods relation
Prevent an error with Node_Scalar_Encapsed
Correctly report the function name a method is called on
Add function to class mapping for methods
Merge branch 'master' into p2p-relationships

Conflicts:
	lib/class-command.php
	lib/class-file-reflector.php
	lib/class-method-call-reflector.php
	lib/runner.php
Fix file indentation
Fix some merge leftovers