Jsonapi _findLink

Several changes on this branch : 
- a much cleaner implementation of_findLink that is still using a very basic buildLinkURL function for now.
- customizable buildURL and buildLinkURL
- the possibility to use functions for host, namespace and inside of headers (my use case was for a header that has to change very often)
- basic tests that needs to be improved because I am very bad at designing tests