The problem you saw with the closed cell foam pulling away like that is due to the heat of the foam was to hot. It was actually curing out and making foam before it could adhere to the wood. The installer wasn't reading his foam correctly. He should of stopped and turned down the heat on his hose temp. Also installers have to be aware that as the sun rises and the temp in attics rises the subtrates get hotter as well. This will cause the installer to adjust his heat when installing the foam as the temp changes thru out the day.  
Apply coating when the roof is dry and the sealant has set. You will be using a 9-inch heavy-duty frame, ½-inch paint roller for spreading coating on roof or 1-1/4-inch roller for dipping in pail, and a 5–to-6-foot extension pole. Use a 3/4-inch roller with basecoats and emulsions. Map out your roof and make each pail fill that area. See Elastek Product Sheets for recommended coverage. An inexpensive 3-inch or 4-inch brush should be used to reach areas not possible with a roller. Use a stiff paintbrush for applying 103 Crack & Joint Sealant.
R-value is the term given to thermal resistance to heat flow. The higher the R-value of an insulation product, the more effective the insulation properties. Spray polyurethane foam comes in a range of densities and cel structure. Low density foams are referred to as Open Cel SPF while higher density foams are referred to as Closed Cel foam. 1.8-2 pound polyurethane foam has the highest R-value of readily available spray foam insulation used in homes and buildings.[4]
The United States has adapted to using sprayfoam insulation and a new technology called Wall Injection to retrofit existing wall construction by drilling small holes between wall studs in the structures framing and filling the void with a less aggressive expanding water based foam. This allows existing home and business owners to conserve energy by creating a thermal envelope in their existing structure. 

How Much Is A Board Foot Of Spray Foam

The average price to cover 200 square feet with a foam insulation kit will run between $300 and $600 (about two to three kits). Inside these kits is something called Icynene, a foam made from two liquids that are heated and pushed through a gun on the can. When Icynene is released, it expands up to 100 times its size as it hits the surface area you're covering. These can contain a lot of gasses, making its installation a dangerous process. Even low-pressure sprayers can be harmful to homeowners' health.

Spray Foam Insulation Cost

Spray foam insulation is a great product. Homes insulated with it can be some of the most efficient and comfortable homes built. I've been in plenty of these homes and can tell you that when spray foam is installed properly, they outperform 99% of fiberglass batt-insulated, stick-built homes. (I can also tell you that 73% of all statistics are made up on the spot, so please don't ask for documentation of that statistic.)
If you’re looking for an effective and efficient Elastomeric Roof Coating, you might want to consider the Kool Seal roof coating. This product comes in a 115 fl oz container and is white in color. It is easy to apply and use that it can stick well even in the harshest weather conditions. This product offers maximum clinging to the RV roof despite the temperature. You can also rely on its effectiveness no matter the type of weather.
I employed a company to insulate my three story house in 2011. They started Insulating it in August of 2011...They said it would be a 3-4 day job. They installed it in 0.5"-8" lifts all in the same cavity, this left burned insulation and voids. They removed what they told me was the bad insulation and in the process cut many electrical wires. They fixed this. They then reinstalled too thick again in some spots and removed again. They then installed it for a 3rd time. The areas that I thought were good are now separating from the structural members leaving voids. As of October 2012, 1 year and 2 months of dealing with the contractor I told them I want proof that what has been installed carries a warranty or I want my money back and I will fix the problems myself. They have yet to provide me with this warranty. I have spent many hours in the house looking at what is bad and they need to fix. I am frustrated, 14 months of additional rent due to their negligence. I would like to know how I can get proof that the product carries the manufacturers lifetime warranty, or has it been installed improperly throughout the entire house. Desperately awaiting your response. 
SPF, a spray-applied cellular plastic, is made by mixing chemicals to create foam. Those chemicals react very quickly, expanding on contact to create foam that insulates, air seals and provides a moisture barrier. When properly installed, SPF forms a continuous barrier on walls, around corners and on contoured surfaces. It resists heat transfer very well and is an effective solution for reducing unwanted air infiltration through cracks, seams, and joints.
Solvent-based polyurethane coatings have excellent adhesion and when used as a base coat over asphalt, EPDM, TPO or PVC, it eliminates the need for a primer. The resulting savings on labor and material more than offsets the higher cost of the product. When top coated with silicone, it gives you the best of both worlds. It's also an excellent gutter and RV coating.
Clean and free the roof surface of any debris and then dry the surface using a cloth. If you happen to have a current coating on the surface, check for adhesion. Consider removing loose coating, repairing, cleaning and then checking the area. Remember to use Energy Guard without thinning it because it is sold ready for use. Containers should not be left open except for a short period of time. You must also ensure that you check for any existing coating adhesion before opening Energy Guard. For application, you will require a brush preferably a bristle brush (synthetic) or a short nap roller. You can also use a good airless sprayer with a 0.031 or 0.027 tip to apply the coatings at (3000 psi/1gpm). You will also need water for cleaning up when you are done.
We are turning our roof into an unvented roof assembly by raising the roof and blowing in SPF. We are planning to leave the existing vapor barrier down but remove the fiberglass batting and then adding 6" of SPF in all the cavities, to completely seal and insulate the house. Should we have any concerns about doing it "upside down" and not spraying the foam directly to the underside/sheathing of the roof?

How Much Is Spray Foam Roofing

Note:  A board foot is defined as a 12" x 12" square at 1" thick. Actual output can be affected by a number of factors including temperature and humidity. The theoretical yield has become an industry standard for identifying certain sizes of two component kits. Theoretical yield calculations are performed in perfect laboratory conditions, without taking into account the loss of blowing agent or the variations in application methods and types.
If you haven’t considered spray foam insulation, now may be the time to start looking into it. As you know, having proper insulation will help reduce your heat and air conditioning bills. In specific, spray foam insulation can be particularly helpful during renovations. It can provide a barrier between outside walls, and even a sound barrier for the inside.
The roof must be thoroughly cleaned, and allowed to dry thoroughly. This is a critical step to ensure a successful coating application. Be careful not to damage the lap seams. Care should be taken when pressure washing not to disturb the integrity of the underlying roof membrane particularly where there are adhered seams. Refer to the specific coating manufacturer you are using for their specific requirements for roof preparation.

Roof Coating Seal